microsoft / microsoft/vscode-cpptools
GDB settings not honored per debug session
@pieandcakes is already working on this.
Since Oct 28, 2019.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: Debugger
Describe the bug
OS and Version: Debian 9 x86_64
VS Code Version: 1.39.2
C/C++ Extension Version: 0.26.0
GDB Version: 8.3.1
To Reproduce
Create a simple hello world program and two distinct debug configurations, both of which target the same executable. Launch both sessions concurrently where in session 1 you issue -exec set auto-solib-add off and in the other you issue -exec set auto-solib-add on. Note that depending on the order in which you issue these commands, the other session will have its value overwritten.
Expected behavior
Both debug sessions should honor their solib-add settings. Session 1 should not automatically load shared library debug symbols despite such setting being overwritten in Session 2. It seems both sessions currently use the same MIEngine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.