-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Allow deferred attaching in the soft debugger #51
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
Conversation
* mini/debugger-agent.c: Don't double-emit assembly nor type load information. License: MIT/X11
* mini/debugger-agent.c: Ensure the VM resumes when detaching. License: MIT/X11
* mini/debugger-agent.c: Ensure that client listener doesn't block VM exit. License: MIT/X11
* Mono.Debugger.Soft/Connection.cs: Allow connection close without forcing the VM to exit. * Mono.Debugger.Soft/VirtualMachine.cs: Allow VM disconnection without forcing the VM to exit. License: MIT/X11
* mini/debugger-agent.c: Cleanup debug output. License: MIT/X11
* mini/debugger-agent.c: Clear pending typeloads when unloading, remove appdomain from table earlier, take loader lock. License: MIT/X11
* mini/debugger-agent.c: Add functions for emitting thread start. License: MIT/X11
* mini/debugger-agent.c: Cleanup state transmission on attach. License: MIT/X11
* mini/debugger-agent.c: Cleanup event processing while attaching. License: MIT/X11
* mini/debugger-agent.c: Don't pend assembly loads while waiting for attach. License: MIT/X11
* mini/debugger-agent.c: Reset pre-attach state on detach. License: MIT/X11
* mini/debugger-agent.c: Autogenerate default port based on PID. License: MIT/X11
* mini/debugger-agent.c: Listen on any address when deferring. License: MIT/X11
* mono/mini/debugger-agent.c: Remove thread start assert that's now nonsensical. License: MIT/X11
…ent on attach. * mono/mini/debugger-agent.c: Remove unused type load pending. License: MIT/X11
* debugger-agent.c: Fix race-to-crash on runtime shutdown. License: MIT/X11
* debugger-agent.c: Unregress non-windows runtime shutdown. License: MIT/X11
…chments. * debugger-agent.c: Allow runtime to survive not being able to listen for attachments. License: MIT/X11
* debugger-agent.c: Fix build. License: MIT/X11
|
I don't think the 'defer' argument is needed, server=y,suspend=n should accomplish the same. |
|
Just the argument, or the rest of the changes? |
|
Just the argument, server=y,suspend=n means the debugger thread will start up, wait for a connection, but the rest of the runtime will run normally. At least thats what happens in java. |
|
Ok, so you just want me to rework the argument handling? |
|
Yes. I prefer keeping our arguments the same as in java. |
* debugger-agent.c: Replace defer=y with server=y,suspend=n. License: MIT/X11
|
Could we get the mono/man/mono.1 page documented as well? |
* mono.1: Add information about suspend suboption. License: MIT/X11
|
Obsoleting in favor of #54 |
License: MIT/X11