codelldb: Extension is crashing
Which OS: Ubuntu 18.04 Which VSCode version: 1.35.1 Which extension version: 1.2.3 Which adapter type: classic Which LLDB version: lldb version 6.0.0
What is the problem and how did you get there:
The LLDB extension crashes at seemingly random places when stepping through code. My program closes, but for some reason all the variables, watches and the callstack still show up on the debug panel. They will not go away until I restart code. I followed the troubleshooting steps, and when I ran the debugging server (although the code command was missing, i had to manually type it into the terminal), I saw the following:
[13:20:56 wireprotocol] --> {"command":"next","arguments":{"threadId":28614},"type":"request","seq":193}
[13:20:56 debugsession] ### Handling command: next
[13:20:56 debugsession] Command args: {
"response": {
"request_seq": 193,
"command": "next",
"type": "response",
"success": false
},
"threadId": 28614
}
[13:20:56 debugsession] Command result: null
[13:20:56 wireprotocol] <-- {"request_seq":193,"command":"next","body":null,"type":"response","success":true}
[13:20:56 debugevents] $$$ Debug event: Process::ProcessEventData 0x56427098dbe0 Event: broadcaster = 0x56426f176928 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x56426f1768f0 (pid = 28614), state = running}
[13:20:56 wireprotocol] --> {"command":"scopes","arguments":{"frameId":1000},"type":"request","seq":194}
[13:20:56 wireprotocol] <-- {"body":{"allThreadsContinued":true,"threadId":0},"type":"event","event":"continued","seq":0}
[13:20:56 debugsession] ### Handling command: scopes
[13:20:56 debugsession] Command args: {
"response": {
"request_seq": 194,
"command": "scopes",
"type": "response",
"success": false
},
"frameId": 1000
}
[13:20:56 debugsession] Invalid frame reference: 1000
[13:20:56 debugsession] Command result: null
[13:20:56 wireprotocol] <-- {"request_seq":194,"command":"scopes","body":null,"type":"response","success":true}
[13:20:56 debugevents] $$$ Debug event: Process::ProcessEventData 0x56426469c0d0 Event: broadcaster = 0x56426f176928 (lldb.process), type = 0x00000001 (state-changed), data = { process = 0x56426f1768f0 (pid = 28614), state = stopped}
[13:20:56 wireprotocol] <-- {"body":{"allThreadsStopped":true,"reason":"step","threadId":28614},"type":"event","event":"stopped","seq":0}
[13:20:56 wireprotocol] --> {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":195}
[13:20:56 debugsession] ### Handling command: disconnect
[13:20:56 debugsession] Command args: {
"response": {
"request_seq": 195,
"command": "disconnect",
"type": "response",
"success": false
},
"restart": false
}
[13:20:56 wireprotocol] --> {"command":"threads","type":"request","seq":196}
[13:20:56 workerthread] AsyncListener thread is shutting down
[13:20:56 wireprotocol] Disconnected
[13:20:57 workerthread] AsyncListener thread has stopped
[13:20:57 eventloop] Stopping
[13:20:57 debugsession] Command result: null
[13:20:57 wireprotocol] <-- {"request_seq":195,"command":"disconnect","body":null,"type":"response","success":true}
[13:20:57 workerthread] DebugServer thread is shutting down
[13:20:57 workerthread] DebugServer thread has stopped
[13:20:57 main] Debug session has ended.
[13:20:57 main] Exiting.
Thank you for the awesome extension! Please let me know if there’s anything I’m missing
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 20 (7 by maintainers)
Curious if you still see this crash with v1.3.0