In the GeneXus IDE you can debug GeneXus code, such as with other development environments (Visual Studio, NetBeans, etc.).
To debug the application, you have to add a breakpoint and run the application. When the breakpoint is found, GeneXus gets the focus, and you can check attribute and variable values using the "watch" tool window. In addition, the "Call Stack" window shows you the objects executed from beginning of the execution.
Follow the basic steps to debug your code:
Select the Debug configuration.
Add objects you want to debug to the debug tool window.
Run the application by pressing F5.
Objects added to the debug tool window are generated again with debug information.
Open one of the objects added to the debug tool window and set a break-point anywhere in the code.
Start using the application. It will stop executing at the selected break-point and GeneXus will get the focus.
Use the Debug toolbar to execute, step by step, add watch variables or change their value.
- Objects generated with Debug information execute slower. In case of extreme performance degradation, see SAC #39137.
- Notice that the release code will be generated after rebuilding using the 'Release' configuration option.
- The debugger works with Server Side Code.
- Please review GeneXus Debugger and Profiling common issues, for troubleshooting.
Object: Procedure, Web Panel, Data Provider
Generator: Java, .NET, .NET Framework
Level: Back end
Code Coverage and Profiling
Live Editing in Web Applications
HowTo: Enable logging for Smart Devices