Debugging in GeneXus

Official Content
This documentation is valid for:

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.

Debugging - Step 1 -20221223

Add objects you want to debug to the debug tool window.

Debugging - Step 2 - 20221223

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.

Debugging - Step 4 - 20221223

Start using the application. It will stop executing at the selected break-point and GeneXus will get the focus.

Debugging - Step 5 - 20221223

Use the Debug toolbar to execute, step by step, add watch variables or change their value.

Debugging - Step 6 - 20221223


  • 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: ProcedureWeb PanelData Provider
Generator: Java.NET.NET Framework
Level: Back end

See Also

Code Coverage and Profiling
Live Editing in Web Applications
HowTo: Enable logging for Smart Devices