Debugging in GeneXusOfficial Content

Scope : Web

With the GeneXus IDE you can debug GeneXus code, such as with other development environments (Visual Studio, NetBeans, etc.) you can debug native code (C#, Java, Ruby, 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 excecuted from beginning of the execution.

Basic steps to debug your code:

  • Select the Debug configuration.

Debugging - Step 1

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

Debugging - Step 2

  • Run the application (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

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

Debugging - Step 5

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

Debugging - Step 6


  • 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.


See also

Profiling in GeneXus

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.