Consultor Eletrônico



Kbase P157076: Debugger fails to start when using DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() in a Class
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/22/2009
Status: Unverified

SYMPTOM(s):

Debugger fails to start when using DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() in a Class

Debugger fails to start when using DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() in a Class located in a Package

Debugger splash screen appears for a few seconds after which the program just continues without showing the Debugger

Every attempt to start the debugger again during that session does nothing

A java.exe process is running in the background doing nothing

FACT(s) (Environment):

Using DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() methods in a Class
DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() are located in a Method within the Class
Class is located in a Package i.e.

DEFINE VARIABLE aClass AS CLASS sports.customer.myClass NO-UNDO.
Debugger starts as expected if the Class is not located in a Package i.e.

DEFINE VARIABLE aClass AS CLASS myClass NO-UNDO.
OpenEdge 10.1x
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00194219

FIX:

Move the DEBUGGER:INITIATE and DEBUGGER:SET-BREAK() statements into the code that calls the Class, placing them before the call to the Class method:

DEFINE VARIABLE aClass AS CLASS myClass NO-UNDO.
aClass = NEW myClass().

DEBUGGER:INITIATE.
DEBUGGER:SET-BREAK().

aClass:callMethod().