473,503 Members | 1,685 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB.NET debugging

In VB6 you could change your code while in debug. But in VB.NET I'm told it
is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it
works.

Regards
Darren
Nov 20 '05 #1
15 1616
there is a setting in Tools>Options>Debugging>Edit and Continue

It should allow you to turn it on for VB. I dont know if this will do what you want or not.

"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
In VB6 you could change your code while in debug. But in VB.NET I'm told it
is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it
works.

Regards
Darren

Nov 20 '05 #2
Nice one, thanks, the help files told me edit & continue was not supported

Cheers Rick!
"Rick Mogstad" <ri**@NOSPAM.computetosuit.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
there is a setting in Tools>Options>Debugging>Edit and Continue

It should allow you to turn it on for VB. I dont know if this will do what you want or not.
"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
In VB6 you could change your code while in debug. But in VB.NET I'm told it is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it works.

Regards
Darren


Nov 20 '05 #3
i checked the box in VS 2002, but i seem to remember having some problems. I havent looked at it
in 2003 (which I only have at home.)
"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP09.phx.gbl...
Nice one, thanks, the help files told me edit & continue was not supported

Cheers Rick!
"Rick Mogstad" <ri**@NOSPAM.computetosuit.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
there is a setting in Tools>Options>Debugging>Edit and Continue

It should allow you to turn it on for VB. I dont know if this will do

what you want or not.

"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
In VB6 you could change your code while in debug. But in VB.NET I'm told it is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it works.

Regards
Darren



Nov 20 '05 #4
"Darren Gulliver" <gu************@hotmail.com> schrieb
In VB6 you could change your code while in debug. But in VB.NET I'm
told it is read only can this be changed? A bit annoying if you have
to keep stopping the app to make your changes then start it up again
to see if it works.


1. I agree
2. I agree
3. I agree

Edit&Continue is said to return in a future version.

see also:

http://msdn.microsoft.com/vstudio/pr...o/roadmap.aspx

--
Armin

Nov 20 '05 #5
Cor
Darren,
Next VB.Net version Microsoft has announced for that.
But you will become soon finding it normal.
Cor
Nov 20 '05 #6
Hi Darren, Rick.

I've got v2002.

Edit-and-continue doesn't continue execution with the edits. Ity just
allows you to have them ready for the next rebuild. Sometimes you can't even
do the editting.

I believe that proper edit-and-continue-with-edits will be in an IDE near
you soon.

Regards,
Fergus
Nov 20 '05 #7
Thats what i thought i had remembered, but I have just gotten used to having to stop and make my
changes when debugging. If they get a decent edit&Continue feature going in a coming version, it
will certainly be welcome.
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:u%******************@TK2MSFTNGP12.phx.gbl...
Hi Darren, Rick.

I've got v2002.

Edit-and-continue doesn't continue execution with the edits. Ity just
allows you to have them ready for the next rebuild. Sometimes you can't even
do the editting.

I believe that proper edit-and-continue-with-edits will be in an IDE near
you soon.

Regards,
Fergus

Nov 20 '05 #8
Hi Rick,

I hear you, bro!!

Regards,
Fergus
Nov 20 '05 #9
"Darren Gulliver" <gu************@hotmail.com> scripsit:
In VB6 you could change your code while in debug. But in VB.NET I'm told it
is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it
works.


Edit and Continue will be re-introduced in VS.NET Whidbey (2004).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #10
Darren,
There is a work-around that I use frequently. Whenever you are at a
breakpoint, you can use the "Immediate" window to execute any arbitrary line
of code; so: copy the line that doesn't work, edit it in the Immediate
window, execute it in the Immediate window, then drag the "Next Statement"
pointer past the offending line of code and continue with Step Over or
whatever.

Gavin
"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
In VB6 you could change your code while in debug. But in VB.NET I'm told it is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it
works.

Regards
Darren

Nov 20 '05 #11
Neat.
Nov 20 '05 #12
Cool

"Gavin Jacobs" <no********@inhell.net> wrote in message
news:Ok**************@TK2MSFTNGP11.phx.gbl...
Darren,
There is a work-around that I use frequently. Whenever you are at a
breakpoint, you can use the "Immediate" window to execute any arbitrary line of code; so: copy the line that doesn't work, edit it in the Immediate
window, execute it in the Immediate window, then drag the "Next Statement"
pointer past the offending line of code and continue with Step Over or
whatever.

Gavin
"Darren Gulliver" <gu************@hotmail.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
In VB6 you could change your code while in debug. But in VB.NET I'm told

it
is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it works.

Regards
Darren


Nov 20 '05 #13
Bah,

Just convinced the bosses to upgrade from VB6 to VS.NET 2002 what's it going
to be like next year!
Microsoft please release a service pack for older versions of vs.net for the
edit & continue.

Darren

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bm************@ID-208219.news.uni-berlin.de...
"Darren Gulliver" <gu************@hotmail.com> scripsit:
In VB6 you could change your code while in debug. But in VB.NET I'm told it is read only can this be changed? A bit annoying if you have to keep
stopping the app to make your changes then start it up again to see if it works.


Edit and Continue will be re-introduced in VS.NET Whidbey (2004).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #14
Hi,

Microsoft please release a service pack for older versions of vs.net for the
edit & continue
<<

I do not think MS will do this (at least, they have indicated that it is
Whidbey only).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #15
Hi,

Interesting. I'll have to try this.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3203
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
4173
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
1841
by: Andy Fish | last post by:
Hi, Using VS.NET 2003, when I use 'F5' to start debugging my web app, it obviously attaches the IDE to IIS for server debugging. However, it also seems to put IE into some kind of debugging mode...
2
3258
by: Alex Clark | last post by:
Hi All, My system: WinXP Pro, VS.NET 2003, SQL Server Personal Edition. I'm having problems with my old favourite demon, SQL Debugging from within VS.NET. I have to say I've found this...
5
2926
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
6
2489
by: KevinGPO | last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address. Then I...
5
7776
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
5
3438
by: =?Utf-8?B?Z2FkeWE=?= | last post by:
I can't get to debug on my local IIS using VStudio.net 2005 Prof. I can on the development server. I get the msg 'the server does not support debugging for asp.net...' I have done the following...
2
20810
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
4
12673
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.