473,385 Members | 1,901 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,385 software developers and data experts.

How can I edit *.cs files while debugger running?

I am *extremely* annoyed by this, but apparently in VS2005 you cannot edit
any of your source files while the debugger is running. Why is that? Is
there an option I can set that will let me do this? It is greatly hampering
my ability to debug my code properly.

-BKN
Jun 6 '06 #1
4 1996
I believe in VS2005, the edit and continue is supported.

Tools->Options ->Debugging..

Bryce K. Nielsen wrote:
I am *extremely* annoyed by this, but apparently in VS2005 you cannot edit
any of your source files while the debugger is running. Why is that? Is
there an option I can set that will let me do this? It is greatly hampering
my ability to debug my code properly.

-BKN

Jun 6 '06 #2
>I believe in VS2005, the edit and continue is supported.

Tools->Options ->Debugging..


I have that checked (it's checked by default even), but that only lets me
edit the files if the debugger has broken into some code. While it's just
running (i.e. no pause, no breakpoint), the files are "locked". It's really
annoying, because I'm used to going through my applications, noticing a
minor cosmetic bug and wanting to fix it right then and there. A common
example is TabOrder. But since the file is locked, I can't immediately hop
back to the code and make the minor change. I have to kill the app, makes
changes, restart, get back to where I was, etc. I really sucks.

-BKN
Jun 6 '06 #3
Bryce K. Nielsen wrote:
I believe in VS2005, the edit and continue is supported.

Tools->Options ->Debugging..


I have that checked (it's checked by default even), but that only lets me
edit the files if the debugger has broken into some code. While it's just
running (i.e. no pause, no breakpoint), the files are "locked". It's really
annoying, because I'm used to going through my applications, noticing a
minor cosmetic bug and wanting to fix it right then and there. A common
example is TabOrder. But since the file is locked, I can't immediately hop
back to the code and make the minor change. I have to kill the app, makes
changes, restart, get back to where I was, etc. I really sucks.

-BKN

You are right on that case. I cannot do edit and continue when it's running.
Jun 6 '06 #4
> You are right on that case. I cannot do edit and continue when it's
running.


So basically we're hosed in this regard? For any good reason?

-BKN
Jun 6 '06 #5

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

Similar topics

46
by: Keith K | last post by:
Having developed with VB since 1992, I am now VERY interested in C#. I've written several applications with C# and I do enjoy the language. What C# Needs: There are a few things that I do...
27
by: Richard Blewett [DevelopMentor] | last post by:
I've just seen on Eric Gunnerson's blog that C# is getting Edit and Continue in Whidbey. That will please alot of people - although me, I have mixed feelings about it ;-) ...
2
by: SamIAm | last post by:
Hi There I am a directory structure similar to the following: /images/ /Area1/Default.aspx /Area2/Default.aspx /Area3/Default.aspx /Default.aspx
8
by: John A Grandy | last post by:
tools > options > debugging > edit and continue by default, the option "allow me to edit vb files while debugging" is checked for c#, but unchecked for vb.net .... ? does anyone know why...
2
by: moonliver | last post by:
You can edit the source files in cs, why cant we do it in vb.net? Or more specifically, how can I get visual studio to not lock the files during run time?
2
by: Oenone | last post by:
I am developing an assembly that can be used either by a Windows Forms application or from within an ASP.NET web site. When running within the Forms app, I can break into the code while it is...
3
by: Wiebe Tijsma | last post by:
Hi, I'm looking for a way to be able to edit the source files in VS2005 while debugging. I don't mean edit-and-continue, and I really don't care if the debugger points to the wrong line after...
4
by: Niklas | last post by:
Hi I have created a new Windows project and the only code I have written is: private void button1_Click(object sender, EventArgs e) { string test = "test"; MessageBox.Show(test); } When I...
6
by: Gianluca Pezzoli | last post by:
I have used edit And Continue for months in Winforms applications with VS 2005 TeamEdition x Software Developers. I have windows vista with all updates. Also VS has all available updates. But...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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
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...

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.