-
Notifications
You must be signed in to change notification settings - Fork 0
Description
After recompiling a program, I recreate a SEP and set hitter user to the user who run the apache server. The debugger doesn’t intercept the job anymore… I got a Null Pointer Exception in the debug console. The way to fix is to restart the Debug Service… but it is not convenient…
We have upgraded to the latest version for debugger (3.0) but still the same issue.
OS : V7r4M0
All ptfs required in the github document are applied to the dev box.
Local os: ubuntu (WSL)
Codefori ext. : 2.16.2
IBMi debux ext. : 3.0.0
Here is the trace :
Connection settings: { 'host': 'TESTSYS.CDINVEST.BE', 'port': 8005, 'secure': true, 'capath': '/home/cda/TESTSYS.CDINVEST.BE_debug_service.crt', 'ignoreCertificateErrors': false, 'TLS_Version': undefined }
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"IBMiDebug","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true,"supportsANSIStyling":true})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsEvaluateForHovers":true,"supportsSetVariable":true,"supportsValueFormattingOptions":true,"supportsModulesRequest":true,"supportTerminateDebuggee":true,"supportsFunctionBreakpoints":true,"supportsConfigurationDoneRequest":true}}
From client: launch({"type":"IBMiDebug","request":"launch","subType":"sep","action":"set_user","name":"Service Entry Point","user":"CDA","password":"XYZ","host":"TESTSYS.CDINVEST.BE","port":8005,"sepDaemonPort":8008,"secure":true,"ignoreCertificateErrors":false,"library":"TX3OBJ","program":"RT_SURVEY","programType":"*PGM","module":"*ALL","procedure":"*ALL","trace":true,"hitterUserProfile":"CICD","workbenchSettings":{"updateProductionFiles":true,"enableDebugTracing":true},"__sessionId":"d6b858dd-cce6-4ed3-bd26-7a2618d87c2c"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Connection settings: { 'host': 'TESTSYS.CDINVEST.BE', 'port': 8005, 'secure': true, 'capath': '/home/cda/TESTSYS.CDINVEST.BE_debug_service.crt', 'ignoreCertificateErrors': false, 'TLS_Version': undefined }"}}
To client: {"type":"event","seq":2,"event":"initialized"}
From client: setFunctionBreakpoints({"breakpoints":[]})
To client: {"type":"response","seq":0,"request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
From client: configurationDone(undefined)
To client: {"type":"response","seq":0,"request_seq":4,"success":true,"command":"configurationDone"}
From client: threads(undefined)
To client: {"type":"response","seq":0,"request_seq":5,"success":true,"command":"threads","body":{"threads":[]}}
To client: {"type":"event","seq":6,"event":"exited","body":{"exitcode":0,"message":"DBGM0015I Set hitter user profile to "CICD" on service entry point at TX3OBJ/RT_SURVEY *PGM, module *ALL, procedure *ALL."}}
To client: {"type":"event","seq":7,"event":"terminated"}
To client: {"type":"response","seq":0,"request_seq":2,"success":true,"command":"launch"}
From client: disconnect({"restart":false,"terminateDebuggee":false})
To client: {"type":"response","seq":0,"request_seq":4,"success":false,"command":"configurationDone","body":{"error":{"id":"8999","format":"java.lang.NullPointerException\n\tat com.ibm.debug.pdt.daas.internal.dap.DAPSession.getVersionJSON(DAPSession.java:439)\n\tat com.ibm.debug.pdt.daas.internal.dap.events.DAPEvent.getEvent(DAPEvent.java:117)\n\tat com.ibm.debug.pdt.daas.internal.dap.requests.DAPConfigurationDoneRequest.generateEvents(DAPConfigurationDoneRequest.java:123)\n\tat com.ibm.debug.pdt.daas.internal.dap.requests.DAPRequest.process(DAPRequest.java:139)\n\tat com.ibm.debug.pdt.daas.internal.dap.requests.DAPRequest.process(DAPRequest.java:97)\n\tat com.ibm.debug.pdt.daas.internal.dap.DAPRequestProcessor$1.run(DAPRequestProcessor.java:119)\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)\n"}}}