Debugging Issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm newbie to VB.net, I used to work on Ver VB 6.0.

When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.

Also when I do F8 it is not taking me thru the whole code, it goes into the
initial event and then it exits the debugger and runs the whole application.

Do I need to set some thing or its the behaviour with the .Net.

Any suggestions are of great help.


Rgds,
Sindbaad
 
Sindbaad,

That is normal. In the next version a part of that VB6 behaviour will come
back. (With limitations is told).

(For the rest is debugging in VBNet in my opininion very good, you can watch
all kind of windows).

Cor
 
Sindbaad said:
I'm newbie to VB.net, I used to work on Ver VB 6.0.

When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.

Edit & Continue is not supported in VS.NET 2002/2003, it will in VS 2005. At
most, you can edit enabling it in Tools, Options, Debugging, Edit and
Continue, but changes won´t apply until next run
Also when I do F8 it is not taking me thru the whole code, it goes into
the
initial event and then it exits the debugger and runs the whole
application.

Have you switched to Visual Basic 6 keyboard mapping (Tools, Customize,
Keyboard, Keyboard Mapping Scheme?

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Sindbaad said:
When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.

Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
allows you to edit code in debug mode ("Tools" -> "Options" ->
"Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
debugging"). Notice that changes in the code will take effect after
restarting debugging.
 
Thank you very much folks !

It actually worked after changing the setting in Tools -> Options.

Thank you,
Sindbaad

Herfried K. Wagner said:
Sindbaad said:
When I'm debugging using VB.Net it is not allowing me to update any code
when I'm running.

Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
allows you to edit code in debug mode ("Tools" -> "Options" ->
"Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
debugging"). Notice that changes in the code will take effect after
restarting debugging.
 

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

Back
Top