Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Editing VB.net code without stopping executable

I need to be able to edit vb.net code using visual studio without stopping the debugging executable.

How can I go about doing this? If it's impossible, how can I code and reload that code without stopping the executable? I know of scripting languages like Lua, but I fear the implementation of another language within the VB is unnecessary to save me the trouble of stopping the executable.

The issue is that starting and stopping this executable can take a very long time, and I need to be able to edit the code quickly and frequently.

like image 827
Cyclone Avatar asked Mar 25 '26 01:03

Cyclone


1 Answers

I think you're talking about "Edit and Continue" which can be enabled in VS2010 > Tools > Debugging > Edit and Continue.

Note: the application must be in "break" mode to enable editing. When you talk about "Stopping the executable" do you mean stopping all debugging or stopping at a breakpoint?

like image 97
Dan Avatar answered Mar 26 '26 15:03

Dan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!