Kbase P112108: Debugger cannot display listing when debugging remotely
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/26/2010 |
|
Status: Unverified
SYMPTOM(s):
Debugger cannot display listing when debugging remotely
Debugging remotely fails with "No Program Loaded".
The debugger running on a Windows client fails to display the debug source listing file when debugging a process executing on another machine via the Appserver.
Cannot display listing at line in <Entry> Execution information for <entry> <program name> will be displayed in the status bar
The source list .cmp file and the .r r-code file has be transferred correctly to the server machine where the Appserver is running, but still the debugger fails to load the listing file.
FACT(s) (Environment):
OpenEdge 10.x
Windows
CAUSE:
The order that the .cmp and .r files are transferred to the server machine after compilation.
When compiling, the compiler adds a reference to the .cmp file in the compiled r-code file. This allows the listing file to be accessed when debugging the r-code. For this reason the .cmp file must be created before the .r r-code file, and the compiler does this when a .cmp file is specified.
When the .cmp file and .r r-code file are transferred to a server machine they are created with a date and time stamp which must ensure that the .cmp file is older than the .r r-code file. If the .r r-code file is older that the .cmp listing file, then the debugger assumes that the listing file is the wrong version for this particular piece of r-code and so will not load the .cmp listing.
FIX:
Transfer the .cmp and .r files to the server machine in the order .cmp file first, and then .r r-code file.