Infolog stack trace

From Axaptapedia

Jump to: navigation, search

download (7K) | This is an extension providing infolog action allowing to see stacktrace for each infolog item.

Image:Infologstacktrace shot.png

[edit] Installation

  • import Dev_StackTrace.xpo
  • recompile
  • add the following code to the \Classes\Info\add:

// RPT DevTools bmi 060915 --->
    if(hasSecuritykeyAccess(securityKeyNum(AdminMisc), AccessType::Edit))
    {
        _sysInfoAction = new SysInfoAction_StackTrace(_txt, xSession::xppCallStack(), _sysInfoAction);
    }
// RPT DevTools bmi 060915 <--- 
  • compile the info class

[edit] Usage

When infolog record is outputed this extension adds an action to it named "Stack trace" (it is only for users with admin rights). Just press the button and see stack trace.

If the record has an action already, you can see stacktrace by holding Ctrl button while clicking on the action button.

Personal tools
Microsoft Community
Microsoft Dynamics Ax Community