codelldb
codelldb copied to clipboard
Debug console gets stuck, no response
OS: Ubuntu 20.04.2 LTS VSCode version: 1.65.0 CodeLLDB version: v1.7.0 Compiler: clang-10
Debug console gets stuck
Debug Console:
[2022-03-16T23:39:05.855Z DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"p *d","frameId":1006,"context":"repl"},"type":"request","seq":61}
[2022-03-16T23:40:34.995Z DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"p d","frameId":1006,"context":"repl"},"type":"request","seq":62}
[2022-03-16T23:54:27.300Z DEBUG codelldb::debug_session::variables] p *d -> Failed, Error: Fail
Error Message:
error: expression failed to parse:
error: <user expression 7>:1:1: indirection requires pointer operand ('Envoy::Event::Dispatcher' invalid)
*d
^~
As we can see in above captures, p d
worked once, then it took 14 minutes for response of p *d
. This huge delay is not specific to any particular variable/expression. sometimes it works instantly and then next time it gets stuck