VS : Shutting the debugger but Keeping Application Form Open
My Application displays processing results on my main form (charts/visual reports). I am in the debugging phase, so I need to interpret the outputs of the App, and make changes to the code based on these outputs.
The behavior I would like is to basically stop debugging (detach the debugger from the running thread I've launched), so i can change/edit the code, but keep the output forms open,开发者_如何学编程 As I need them to analyze reports and make the needed code changes.
PS : I have x64 outputs so there is no hot-code-edit-and-continue option (besides, this is not what I am looking for.)
Thanks in advance
menu Debug -> Detach all
Taken from here
The only way I know is to run the EXE by double clicking on it and then attach the debugger using Debug->Attach To Process or Tool->Attach To Process.
So when you disconnect the debugger, it will carry on running.
You should run your application without debugging, then attach the debugger, then detach it when you're done, it won't close your app. The problem is that when you'll want to test your changes you need to do everything again which is a bit tedious.
精彩评论