-
Couldn't load subscription status.
- Fork 0
Description
Upgraded to debugger v3.0.1 using the instructions provided on https://codefori.github.io/docs/developing/debug/configure/.
Verified that all server PTFs are installed (V7R5) and regenerated Debug Service Trust Store. Debugger shows as 3.0.1 in VS Code.
Now, after setting an SEP, when the program gets called, the debug source tab shows, but the program just runs to completion without the ability to set breakpoints or step through the program. VS Code behaves as if the debug session is still active (toolbar with Continue, Step Over, Step Into, etc. icons still showing; red status bar on the bottom). After ending the debug session in VS Code, when the program gets executed again, debug does not even kick in anymore at all.
startDebugServiceNavigator.log:
java version "11.0.27" 2025-04-15
IBM Semeru Runtime Certified Edition (build 11.0.27+6)
Eclipse OpenJ9 VM (build openj9-0.51.0, JRE 11 OS/400 ppc64-64-Bit Compressed References 20250529_000000 (JIT enabled, AOT enabled)
OpenJ9 - 31cf5538b0
OMR - 9bcff94a2
JCL - 9753267879 based on jdk-11.0.27+6)
Mon Oct 13 00:21:02 Eastern Daylight Time 2025
[Debugger] Debug profile: QDBGSRV going to HAT
[Debugger] programName: /QSYS.LIB/QC3RTVFA.PGM parm2 format name: KSFA0100
[Debugger] retrieveKeystoreFileAttributes for qualName: DBGTRUSTO QUSRSYS
[Debugger] m_nKeyRecords: 1
[Debugger] m_nMasterKey: 1
[Debugger] m_sDate: 20251010162931
[Debugger] status: 1
[Debugger] program QC3RTVFA run returned true
[Debugger] success: true
[Debugger] using masterKey: 1
[Debugger] retrieved masterKey: 1 status: 1
[Debugger] getKey regenerated: false
[Debugger] byteToChar for caKey_s Key
EQARD1007I The Remote Debug Service daemon started on port 8001.
EQARD1053I The Remote Debug Service daemon started on secured port 8005.
(2025-10-13 09:14:02.0274) Created IBM i connection for SEP (host: LOCALHOST, user: HEYMCHR)
ToolboxConnectorService.internalConnect: connecting LOCALHOST
ToolboxConnectorService.internalConnect(): Login with IBM i UserID and Password
ToolboxConnectorService.internalConnect: connected LOCALHOST
Connected to host LOCALHOST
(2025-10-13 09:14:02.0649) DBGM0021I Initializing service entry points for user HEYMCHR on host USALIL2C.INFOR.COM.
(2025-10-13 09:14:16.0812) DBGM0007I Created service entry point on HEYMCHR/TESTPGMC *PGM.
Created SEP connection for user: HEYMCHR
(2025-10-13 09:14:30.0959) Service entry point hit at job 068316/HEYMCHR/QPADEV0001 for user HEYMCHR
(2025-10-13 09:14:31.0468) Created IBM i connection (host: LOCALHOST, user: HEYMCHR)
ToolboxConnectorService.internalConnect: connecting LOCALHOST
ToolboxConnectorService.internalConnect(): Login with IBM i UserID and Password
ToolboxConnectorService.internalConnect: connected LOCALHOST
Connected to host LOCALHOST
(2025-10-13 09:14:31.0783) Attaching to job 068316/HEYMCHR/QPADEV0001
(2025-10-13 09:14:33.0114) DBGB0003E Cannot set line breakpoint since its view context information is not available.
(2025-10-13 09:14:34.0150) DBGB0004E Cannot set breakpoint on line that is not executable.
(2025-10-13 09:14:34.0690) DBGB0004E Cannot set breakpoint on line that is not executable.
Service Entry Point Debug log for the job where I ran the program shows:
EQARD1067I Remote Debug Service has generated the following trace files:
/QIBM/UserData/IBMIDEBUGSERVICE/startDebugService_workspace/QDBGSRV/PDT_DAAS_20251013_091432_0413_1_DAP.txt
/QIBM/UserData/IBMIDEBUGSERVICE/startDebugService_workspace/QDBGSRV/PDT_DAAS_20251013_091432_0413_1_EPDC.hex
DBGB0003E Cannot set line breakpoint since its view context information is not available.DBGB0004E Cannot set breakpoint on line that is not executable.DBGB0004E Cannot set breakpoint on line that is not executable.
When looking at PDT_DAAS_20251013_091432_0413_1_DAP.txt, it somehow references a completely different program AEALIB/CMPIKLOBJR instead of the HEYMCHR/TESTPGMC program that I'm trying to debug??
-bash-5.2$ cat PDT_DAAS_20251013_091432_0413_1_DAP.txt
20251013_091433_0308 ->{"type":"event","seq":51,"event":"capabilities","body":{"capabilities":{"supportsFunctionBreakpoints":false,"supportsConditionalBreakpoints":true,"supportsHitConditionalBreakpoints":true,"supportsEvaluateForHovers":true,"supportsSetVariable":true,"supportsValueFormattingOptions":true,"supportsModulesRequest":true,"supportsSetExpression":true,"supportsRestartRequest":true,"supportsTerminateRequest":true}}}
20251013_091433_0308 ->{"type":"response","seq":52,"request_seq":2,"success":true,"command":"attach"}
20251013_091433_0308 ->{"type":"event","seq":53,"event":"session","body":{"reason":"new","sessions":[]}}
20251013_091433_0634 ->{"type":"event","seq":54,"event":"breakpoint","body":{"reason":"changed","breakpoint":{"verified":false,"id":"2"}}}
20251013_091433_0643 ->{"type":"event","seq":55,"event":"module","body":{"reason":"new","module":{"id":13,"name":"*PGM AEALIB/CMPIKLOBJ"}}}
20251013_091433_0643 ->{"type":"event","seq":56,"event":"breakpoint","body":{"reason":"changed","breakpoint":{"verified":true,"id":"3","source":{"adapterData":{"module":"*PGM AEALIB/CMPIKLOBJ","part":"CMPIKLOBJ"},"name":"/home/HEYMCHR/builds/tools/qclsrc/cmpiklobj.pgm.clle","path":"/home/HEYMCHR/builds/tools/qclsrc/cmpiklobj.pgm.clle","sourceReference":7001},"line":31}}}
20251013_091433_0725 <-{"command":"scopes","arguments":{"frameId":7},"type":"request","seq":37}
20251013_091433_0726 ->{"type":"response","seq":57,"request_seq":37,"success":true,"command":"scopes","body":{"scopes":[{"name":"Locals","variablesReference":71000000,"expensive":false}]}}
20251013_091433_0740 <-{"command":"variables","arguments":{"variablesReference":71000000},"type":"request","seq":38}
20251013_091433_0756 ->{"type":"response","seq":58,"request_seq":38,"success":true,"command":"variables","body":{"variables":[{"name":"%LOCALVARS","evaluateName":"%LOCALVARS","value":"FOR ALL CL, NON-ILE RPG AND COBOL USE THE \"MONITORS\" VIEW.","variablesReference":0,"type":"","namedVariables":0,"presentationHint":{"kind":"**UNDEFINED** label for com.ibm.debug.pdt.internal.core.model.Type"}}]}}
20251013_091434_0150 ->{"type":"event","seq":59,"event":"output","body":{"category":"console","output":"DBGB0004E Cannot set breakpoint on line that is not executable."}}
20251013_091434_0691 ->{"type":"event","seq":60,"event":"output","body":{"category":"console","output":"DBGB0004E Cannot set breakpoint on line that is not executable."}}
20251013_091435_0192 ->{"type":"event","seq":61,"event":"module","body":{"reason":"new","module":{"id":14,"name":"*PGM AEALIB/CMPIKLOBJR"}}}
20251013_091435_0199 ->{"type":"event","seq":62,"event":"breakpoint","body":{"reason":"changed","breakpoint":{"verified":true,"id":"6","source":{"adapterData":{"module":"*PGM AEALIB/CMPIKLOBJR","part":"CMPIKLOBJR"},"name":"/home/HEYMCHR/builds/tools/qrpglesrc/cmpiklobjr.pgm.sqlrpgle","path":"/home/HEYMCHR/builds/tools/qrpglesrc/cmpiklobjr.pgm.sqlrpgle","sourceReference":8001},"line":112}}}
20251013_091637_0440 <-{"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":39}
20251013_091704_0001 ->{"type":"event","seq":63,"event":"session","body":{"reason":"changed","sessions":[{"sessionId":0,"status":"PARKED","mode":"debug"}]}}