Changing code while debugging

M

Mike

In VB 6, you could change most code while your project was in Break mode. I
am targeting the Pocket PC, and VB .NET 2003 is not allowing me to change
code while debugging. Is this true for all VB .NET projects or just for the
Pocket PC?
 
C

Cor

Hi Mike,

You can change code while debugging, but than you have to restart your
debugging process.

One of the advantages from the next version is the possibilities to change
code and go on with debugging.

Cor
 
L

Linda Rae Williams

This changed in VB.net. Microsoft documented that you
could no longer change code in Break mode. I suppose
that makes it a "feature" of the language. However, in
my newest version they have enabled something called Edit
and Continue. Look under the Help index for that topic
and you can set your project to allow editing under
controlled circumstances.
 
H

Herfried K. Wagner [MVP]

* "Mike said:
In VB 6, you could change most code while your project was in Break mode. I
am targeting the Pocket PC, and VB .NET 2003 is not allowing me to change
code while debugging. Is this true for all VB .NET projects or just for the
Pocket PC?

Edit and Contunie will be re-introduced in VB.NET 2004. Currently, you
can select in the IDE settings to allow changing the code, but this
won't provide the same comfort as Edit and Continue in VB6.
 
G

Gary Milton

Edit & Continue will be back when Widbey (VS.NET 2005) finally arrives. As
for the Watch and Immediate windows, these are the 'Command' (CTRL+ALT+A)
and 'Watch' (CTRL+ALT+I) windows available from within the IDE.

Gary

john33 said:
I added Vb to the list of languages that could use Edit and Continue and
find that yes I can change code "on the fly", but this the new code is not
committed until I restart the project, which means it has to pass through
all previous code before it will execute the change. I need my old VB6
"Edit and Continue" back!!!!!!!!!!!!!!!!!!!!!!!!
Also, I need a Watch Window and an Immediate Window!!!!!!!!!!!!!!!!1

Question: when Microsoft has a good thing going, why do they have to
change (translate, eliminate) it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top