Mehdi LAMRANI
Mehdi LAMRANI

Reputation: 11607

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

Upvotes: 2

Views: 86

Answers (3)

Snowbear
Snowbear

Reputation: 17274

menu Debug -> Detach all
Taken from here

Upvotes: 2

J.N.
J.N.

Reputation: 8431

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.

Upvotes: 0

Aliostad
Aliostad

Reputation: 81700

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.

Upvotes: 0

Related Questions