Skip to content

No active socket connection to the remote debug service during Batch debug #63

@Max-crosskey

Description

@Max-crosskey

Hi,

So SEP debugging was fixed for me when I changed password but Batch debugging is still not working, I used to encounter an issue due to our on job that adds a library when another job exits but now I'm not even getting to that step anymore:

Connection settings: { 'host': 'x.x.x', 'port': 8005, 'secure': true, 'capath': 'C:\Users\x\x.x.x_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","name":"IBM i batch debug: program x/x","user":"x","password":"x","host":"x.x.x","port":"8005","secure":true,"ignoreCertificateErrors":false,"subType":"batch","library":"x","program":"x","startBatchJobCommand":"SBMJOB CMD(CALL PGM(x/x)) INLLIBL(x) CURLIB(QGPL) JOBQ(QSYSNOMAX) MSGQ(*USRPRF) CPYENVVAR(*YES)","updateProductionFiles":true,"trace":true,"workbenchSettings":{"updateProductionFiles":false,"enableDebugTracing":false},"__sessionId":"67bcfa7d-379e-4325-8bac-4ee4b8e43aea"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"Connection settings: { 'host': 'x.x.x', 'port': 8005, 'secure': true, 'capath': 'C:\Users\x\x.x.x_debug_service.crt', 'ignoreCertificateErrors': false, 'TLS_Version': undefined }"}}
To client: {"type":"event","seq":2,"event":"initialized"}
From client: setBreakpoints({"source":{"name":"x.SQLRPGLE","path":"member:/x/QRPGLESRC/x.SQLRPGLE?application%3DBANKING%26version%3D01.13.00%26strict%3Dtrue%26readonly%3Dtrue"},"lines":[91,92,93],"breakpoints":[{"line":91},{"line":92},{"line":93}],"sourceModified":false})
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setBreakpoints
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setBreakpoints\n"}}
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setBreakpoints
To client: {"seq":0,"type":"response","request_seq":3,"command":"setBreakpoints","success":false,"message":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setBreakpoints","body":{"error":{"id":9999,"format":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setBreakpoints","showUser":true}}}
To client: {"seq":0,"type":"event","event":"terminated","body":{"restart":false}}
From client: setFunctionBreakpoints({"breakpoints":[]})
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setFunctionBreakpoints
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setFunctionBreakpoints\n"}}
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setFunctionBreakpoints
To client: {"seq":0,"type":"response","request_seq":4,"command":"setFunctionBreakpoints","success":false,"message":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setFunctionBreakpoints","body":{"error":{"id":9999,"format":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: setFunctionBreakpoints","showUser":true}}}
To client: {"seq":0,"type":"event","event":"terminated","body":{"restart":false}}
From client: configurationDone(undefined)
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: configurationDone
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: configurationDone\n"}}
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: configurationDone
To client: {"seq":0,"type":"response","request_seq":5,"command":"configurationDone","success":false,"message":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: configurationDone","body":{"error":{"id":9999,"format":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: configurationDone","showUser":true}}}
To client: {"seq":0,"type":"event","event":"terminated","body":{"restart":false}}
From client: disconnect({"restart":false,"terminateDebuggee":false})
From client: threads(undefined)
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: threads
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: threads\n"}}
EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: threads
To client: {"seq":0,"type":"response","request_seq":7,"command":"threads","success":false,"message":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: threads","body":{"error":{"id":9999,"format":"EQAVS1008E No active socket connection to the Remote Debug Service is available for DAP request: threads","showUser":true}}}
To client: {"seq":0,"type":"event","event":"terminated","body":{"restart":false}}

I could create a SEP for same program

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions