473,395 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to change code during debugging

JM
Hi,

I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not able
to do it.

Can anyone tell me how I need to configure VS2005 so it allow me to change
code during debugging?

Thanks,

Jamie
Feb 24 '07 #1
2 3092
When you set a breakpoint, and run your app, what does it do? Nothing? Are
you sure it's running that statement? Because edit-and-continue works fine
for me.

Robin S.
---------------------------------
"JM" <jm**@ya.comwrote in message
news:ec*************@TK2MSFTNGP02.phx.gbl...
Hi,

I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not
able to do it.

Can anyone tell me how I need to configure VS2005 so it allow me to
change code during debugging?

Thanks,

Jamie


Feb 26 '07 #2
JM wrote:
I used to chage my code during debugging with Visual Studio 2003 (I just
stopped the code using a break point and VS2003 allowed me to change the
code, and continue debugging), but now with Visual Studio 2005 I am not able
to do it.
VS'2003 allowed you to change the source code while the application was
running. However, in all but a /very/ few cases, it made no difference
- the change was /not/ taken into account until you /restarted/ the
application.
Can anyone tell me how I need to configure VS2005 so it allow me to change
code during debugging?
Edit-and-Continue really /does/ work in /Visual Basic/ 2005 (don't know
about the other languages); the option to turn it on is buried in

Tools Options
Debugging / Edit and Continue.

HTH,
Phill W.
Feb 26 '07 #3

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

Similar topics

4
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
13
by: Andrew | last post by:
I use conditional compiler constants, set through the VBA IDE in Tools, <projectname> Properties, that I refer to throughout my code to control which code is used during development, and which...
1
by: William Sullivan | last post by:
I was wondering... Are there attributes you can use to mark accessors/variables that will identify them as to be shown when hovering over an instance of the containing object during debugging? As...
1
by: Welman Jordan | last post by:
When I debug an asp.net application, which would consume a considerable amount of memory, the application throws "unhandled exception" and delivers a 500 error page to the browser. I find that...
10
by: Andrew Kidd | last post by:
I see this when I'm stepping through in the debugger ... just thought I'd ask, and I just know it's going to be one of those "Doh" moments, but it's got me foxed just now.
1
by: Sebastian | last post by:
Hi, I'm coming from a C/C++ background and wondering if there's a straightforward way to designate debugging code in a vb.net application? I'm accustomed to setting up a Preprocessor macro...
1
by: JM | last post by:
Hi, I used to chage my code during debugging with Visual Studio 2003, but now with Visual Studio 2005 I am not able to do it. I have been looking how to configure Visual Studio 2005 to allow me...
8
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...

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.