-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change current thread? #150
Comments
Now |
Now I see, --thread is supported, although undocumented. |
The problem is that |
Please note, GDB/MI protocol is not human oriented, IDE/plugins provide proper formed commands with |
I'm adding your debugger to my C# script IDE project. Like in VS, VSCode, Rider. Almost everything works well, just several non-fatal problems. |
I added this to "feature requests" list (as I see we planned same for CLI too), but at this moment we all involved in porting to riscv64 (.NET runtime/debugger), not sure this will be done in near future. |
Using MI protocol, it seems there is no way to change current thread (
m_debugger.SetLastStoppedThreadId
?). The debugger does not implement-thread-select
command or--thread
argument. It seems it is possible only if using the VSCode protocol.For example, when the user clicks the Pause button, the current thread is the last stopped thread, or a random thread if never stopped (often not even the main thread). Then the user may want to step-debug another thread.
The text was updated successfully, but these errors were encountered: