GeneXus Debugger and Profiling common issues

Official Content
This documentation is valid for:

The following issues may occur when Debugging or Profiling an application.

Message error:

Warning: <Object Name> debuggable program. No debugger found at: <Computer Name>

or

Warning: <Object Name> under code coverage testing and no host found at: <Computer Name>
Description: Unable to connect to the remote server

Computer Name is where GeneXus is being executed.

  • Cause: UAC (User Access Control) is enabled (Windows Vista or higher)
  • Solution: Run GeneXus as administrator (right-button, 'Run as Administrator')

 

  • Cause: the Firewall is blocking the debugger.
  • Solution: add GeneXus.exe as an exception in the Firewall.

Debugging - Adding GeneXus.exe to Firewall

 

The following steps can be executed to check connectivity between Debugger and application:

1. Open a command prompt console and run: telnet localhost 6776 1 (GeneXus must be open).

telnet1

2. Press <Enter>.

telnet2

3. Press Y (or y).

telnet3

If you run the application in Debug mode, the console will show traffic between the application and GeneXus Debugger.

6776 is the default port number used by the DebuGX, but sometimes could be different. To know the real port number being used, open the source code of some debuggable program and search for Gxdebug.setPort (for Java) or Gxdebug.Port (for .net)