microsoft / MIEngine

The Visual Studio MI Debug Engine ("MIEngine") provides an open-source Visual Studio Debugger extension that works with MI-enabled debuggers such as gdb and lldb.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[gdb] -exec is broken in 1.12.4/1.12.3

sbobko opened this issue · comments

Environment

  • OS and version: Ubuntu 20.04.4 LTS
  • VS Code: 1.70.2
  • C/C++ extension: 1.12.4 / 1.12.3

Bug Summary and Steps to Reproduce

Bug Summary:
Trying to use -exec results in nothing and crashes.

v1.12.4
image
v1.12.3
image

When rolling back two versions, the problem disappears:
v1.11.5
image

Steps to reproduce:

  1. Start debugging using gdb
  2. run -exec any_command in debug consol
    expected: image
    Actual:
    image

Debugger Configurations

"description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true

Debugger Logs

Nothing

Other Extensions

No response

Additional Information

No response

upd:
Commands that start with - work, the example in the screenshot. Perhaps this will tell you more than it tells me.
image

We will use the one in cpptools to track this issue. microsoft/vscode-cpptools#9827