473,513 Members | 4,753 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Editing during Debug

When debugging a C# application, I can make changes to the code and restart.
Is there a way to do this in VB.NET? Right now, I have to kill the
application, make the change, then rerun it. It seems to me that back in
VB6, I could make code changes while debugging, set the cursor to the line
I'd the line I'd like to have the application go to, and restart from that
line.

Since I seem to be able make changes in while debugging C#, I assume I can
do it in VB.NET, but can't seem to find out how.

Appreciate it if someone would tell me how I do this.

Thanks..

Bruce
Nov 21 '05 #1
6 1584
Bruce,

"Bruce A. Julseth" <br***********@attglobal.net> schrieb:
Since I seem to be able make changes in while debugging C#, I assume I can
do it in VB.NET, but can't seem to find out how.


"Tools" -> "Options" -> "Debugging" -> "Edit and continue" -> [X] "Allow me
to edit VB files while debugging"

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
THANKYOU!

Can you believe I never decided to ask this question, over the last 4 months
of learning VB.NET I just thought this was the way it was and didn't
question it.

This will save so much time. Thankyou again.

Kind Regards,

Michael Proctor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uo**************@TK2MSFTNGP09.phx.gbl...
Bruce,

"Bruce A. Julseth" <br***********@attglobal.net> schrieb:
Since I seem to be able make changes in while debugging C#, I assume I
can
do it in VB.NET, but can't seem to find out how.


"Tools" -> "Options" -> "Debugging" -> "Edit and continue" -> [X] "Allow
me to edit VB files while debugging"

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
me too :P
Thanks Herfried
--
Saber S.
"Michael Proctor" <mp******@alfware.com.au> wrote in message
news:42********@news1.veridas.net...
THANKYOU!

Can you believe I never decided to ask this question, over the last 4
months of learning VB.NET I just thought this was the way it was and
didn't question it.

This will save so much time. Thankyou again.

Kind Regards,

Michael Proctor

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message

Nov 21 '05 #4
Michael,

You will see that it is exactly the C# way. Not the VB6 way.

Maybe you did not expect that, however before you start thinking "why is it
not doing it in that way".

The VB6 way will (almost however not complete the same as I thought) be
returned in version 2.0

Cor
Nov 21 '05 #5
Cor,

"Cor Ligthert" <no************@planet.nl> schrieb:
You will see that it is exactly the C# way. Not the VB6 way.
Why should that be the C# way? That's an option which is set by default in
C#, but for some unknown reason not set in VB.NET. Maybe Microsoft didn't
want to confuse former VB6 users with a "broken" Edit and Continue.
The VB6 way will (almost however not complete the same as I thought) be
returned in version 2.0


ACK.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6
Herfried,
You will see that it is exactly the C# way. Not the VB6 way.


Why should that be the C# way?


Because that is in the starting message from the OP (Bruce).

Not that it it = the C# way.

:-)

Cor
Nov 21 '05 #7

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

Similar topics

5
16219
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
2
7738
by: Dennis Ruppert | last post by:
I created a routine to read and edit the description properties of tables, (the one you see in the database window). It works just fine. This is the basic code behind it, I substituted all my...
10
1474
by: Nathan Sokalski | last post by:
I have a DataList control with an EditTemplate. Three of the controls in this template include a Calendar, a Button with CommandName="update", and a Button with CommandName="cancel". Whenever I...
3
2014
by: Ben | last post by:
anyone know if there is a way to get VS to enable editing codes in debug mode? 6.0 supported this feature and it's the best key selling point. I just don't know why it's not avaliable. Thanks.
4
1702
by: genojoe | last post by:
My development computer (1 gig, XP Home Edition SP2) freezes when I am editing a very large VB.NET project. It can take minutes to move between a code pane and the Find and Replace pane. On...
0
1626
by: tom c | last post by:
I am going through "Walkthrough: Editing and Inserting Data in Web Pages with the DetailsView Web Server Control" found at http://msdn2.microsoft.com/en-us/library/sdba1d59.aspx I am using...
5
8193
by: B. | last post by:
I know there is similar post few years back, but it didn't help solving my problem: We have a big project. Our legacy code is ported to VC++ 2005 recently. We have new feature written in C#.Net....
2
5264
by: Andreas Mueller | last post by:
Hi All, I'm trying to show a context menu during a drag drop operation similar to the windows explorers right click drag and drop behavior (A full working sample is at the end of the post): ...
8
2126
by: Brian | last post by:
What's the best way to debug code that is being run during garbage collection? We are getting AccessViolationExceptions that seem to be happening during garbage collection. But when it hits the...
1
3495
by: andwan0 | last post by:
I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests). We are slowly migrating the website to ASP.NET 2.0 and developing under...
0
7254
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
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
7373
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
7432
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...
0
7519
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5677
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5079
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4743
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...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.