How to enable trace/debugger/log in Sage X3

Nov 19 2015

Sage X3 is not your typical ERP solution. It’s a faster, simpler, and flexible business management solution. One of the cool features of Sage X3 is that is provides a debug mode within its engine to view and capture information about screens, tables, fields etc. used to troubleshoot any issues.Debug mode is enabled after launching a X3 function; for example Sales/delivery using Help (?) → Diagnostic Help →Toggle debug. The debugger can be also invoked using Alt+Ctrl+F when you are in a function.

It is also possible to switch on SQL server trace in X3 functions using “Activate SQL Server Trace” and then De-activate trace once the required information is gathered.

 

C:\Users\rkadhiresan\Documents\DonationCoder\ScreenshotCaptor\Screenshots\Screenshot - 11_11_2015 , 10_16_11 AM_ver001.png

 

Once the debug mode is enabled, a separate debug screen is displayed. To capture and save all the debugging information, click on the Log and by default the log path is “tmp” folder under the current folder with file name as user name with .dbg. If you have logged-in as admin the file name will be admin.dbg under the directory “tmp”.

 

C:\Users\rkadhiresan\Documents\DonationCoder\ScreenshotCaptor\Screenshots\Screenshot - 11_11_2015 , 1_37_11 PM_ver001.png

 

More information about memory, Screens and Tables used by the function can be accessed from the debugger screen using the Detail button.

C:\Users\rkadhiresan\Documents\DonationCoder\ScreenshotCaptor\Screenshots\Screenshot - 11_14_2015 , 11_27_20 AM_ver001.png

 

By using the debugger feature in Sage X3, we were able to save the trace/debug file for further analysis.

Want to learn more about Sage X3 or about tracing and debugging in Sage X3; contact us at 1-866-320-8922 or at [email protected] ; we’d love to help!

Recent posts