llvm / llvm/llvm-project

[lldb-dap] When running in server mode settings are shared between debugger instances

Open
#181,189 2 comments 0 reactions 0 assignees View on GitHub
lldb-dap
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

If you are using lldb-dap in server mode and set a setting in one instance, those settings would be applied to any new debugger instances created after that point.

For example, if you use `settings set target.run-args 1 2 3` that would be used for all debug sessions after that.

If possible, we should see if we can isolate these settings better.

Contributor guide

Open the contributing guide

Research direction

Start by tracing lldb-dap's server-mode debugger-instance creation and how settings such as target.run-args are stored or inherited. Reproduce the issue by setting target.run-args in one session, then create another session; done means settings from one debugger instance no longer affect later instances.

Written by the indexing model from the issue text.

Assessment

Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.