CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 5/10/2006 6:55:18 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
rstrahl
Asp.Net User
Edit and Continue not working5/10/2006 6:55:18 PM

0/0

I can't get Edit and Continue to work WAP release.

I basically stepped through the steps that Scott posted on his blog today,
exactly just to be sure I wasn't setting some values that may not be
supported , but using Edit and Continue simply doesn't accept the
changes.

Here's what I did:

Turned on Edit And Continue using the built in Web Server

Created a new form added a button and some code to change the text on a
click

Set a breakpoint on that line and F5 to run

Hit breakpoint, change the string and continue and then re-run.

Observed:
Original text on the button.

So it's not working.

Any idea what the problem could be?

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
Rick Strahl [MVP]
West Wind Technologies
Making waves on the Web
www.west-wind.com/weblog
ScottGu
Asp.Net User
Re: Edit and Continue not working5/10/2006 11:55:17 PM

0/0

Hey Rick,

Want to send me email and we can work through it?  A couple of questions that would be great to understand:

1) What language are you using?

2) Have you tried edit and continue with a Windows Forms App on the same machine?  Does that work?

3) Is this a custom app or just a simple hello world one (it would be great to try hello world so that we can isolate the problem)?

Thanks,

Scott 

rstrahl
Asp.Net User
Re: Edit and Continue not working5/11/2006 12:28:09 AM

0/0

Argh... it turns out that I had Edit and Continue turned off in the Visual Studio options...

But thanks - your post actually made me double check those global options that I forgot all about...

It works, but is there any way to get it to work so you can edit code while the debugger is running but not stopped in the module itself? When not stopped in the current page, all source files are locked with the little read-only padlock.

I suppose I wouldn't expect the code to be recompiled immediately (unless the debugger stops there I guess, but being able to at least edit the file would be useful. If I remember right this was the reason why I turned off Edit and Continue in the first place.

Thanks,

+++ Rick ---


Rick Strahl [MVP]
West Wind Technologies
Making waves on the Web
www.west-wind.com/weblog
ScottGu
Asp.Net User
Re: Edit and Continue not working5/11/2006 12:35:35 AM

0/0

Unfortunately the way edit and continue works (this is true for all app types) is that you need the debugger attached and in the execution of a request in order to make changes.  Note that you don't need to be on the specific line itself -- you can edit any line of code within the unit you are in (for example: you could re-write all contents of the event handler).

Hope this helps!

Scott

P.S. Apparently VB6 worked this same way as well -- so folks used to VB will be familiar with it...

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Comprehensive VB .NET Debugging Authors: Mark Pearce, Pages: 504, Published: 2003
A Writer's Time: Making the Time to Write Authors: Kenneth John Atchity, Pages: 267, Published: 1995
Visual Basic 2005: A Developer's Notebook Authors: Matthew MacDonald, Pages: 243, Published: 2005
The Book of Visual Basic 2005: .NET Insight for Classic VB Developers Authors: Matthew MacDonald, Pages: 490, Published: 2006
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Organizing from the Inside Out: The Foolproof System for Organizing Your Home, Your Office, and Your Life Authors: Julie Morgenstern, Pages: 320, Published: 2004
C# 2005 For Dummies Authors: Stephen Randy Davis, Charles Sphar, Chuck Sphar, Pages: 406, Published: 2006
Designing Visual Basic.NET Applications Authors: David Vitter, Pages: 544, Published: 2001
Organizing from the Inside Out: The Foolproof System for Organizing Your Home, Your Office, and Your Life Authors: Julie Morgenstern, Pages: 336, Published: 2004

Web:
Mike Stall's .NET Debugging Blog : You can't do Edit-and-Continue ... I just unfortunately discovered that if you add a setup and deployment project to an existing VB project, Edit and Continue stops working with the "Cannot ...
Edit and Continue not working - ASP.NET Forums Re: Edit and Continue not working. 05-10-2006, 7:55 PM. Contact ... Scott. Re: Edit and Continue not working. 05-10-2006, 8:28 PM. Contact ...
MSDN Visual Basic General VS 2005 VB Edit & continue problem VS 2005 VB Edit & continue problem. ... Even with a brand new project, I can not edit the code. ... menu when in break mode, but not when in edit mode. ...
.NET csharp Edit-and-Continue Not Working Edit-and-Continue Not Working - py. 13-Feb-07 02:34:53. i am getting this message in VS2005 using c# when i try to "Edit And Continue" (edit ...
MSDN 64-Bit .NET Framework Development. Edit And Continue On my x64 machine I'm working on several applications, with VB 2005. I marked all with the x86 target platform. I can edit & continue on all th apps but not ...
Edit and continue not works for wap project. - ASP.NET Forums Edit and continue is only available for website project and not web application project ... Regards, .... Edit and continue now working. ...
Edit and Continue in an ASP.NET Web Application - The Problem Solver By default Edit and Continue (EnC) is disabled when you create a new ASP.NET Web Application using Visual Studio 2005. Not sure why this is because EnC is a ...
Christoph De Baene (de p0l) - Edit and Continue not supported on ... Mar 18, 2008 ... On this page you find a nice overview of the scenarios where the edit and continue features are not supported. To resolve the problem, ...
Edit and Continue, Debugging, Options Dialog Box Edit and Continue does not invoke custom build steps. If your program uses custom build steps, you may want to rebuild manually so that custom build steps ...
Debugging Edit And Continue problems: Not enough storage is ... Telerik is a leading vendor of ASP.NET and Windows Forms UI components, Content Management Systems (CMS), Reporting solutions, ...

Videos:
Being Big Bird: the Muppet Unmasked BusinessBeing Big Bird: the Muppet UnmaskedBeing Big Bird: the Muppet UnmaskedThe Associated PressOn the street, Caroll Spinney is a 74-year-old of m...
Maple Story Final Days (not gonna complete it) I've changed new youtube acc - http://www.youtube.com/user/TheFlamingWolf for more info, look into TheFlamingWolf's description. -----------------...
Super "Not It" Bros. Part 4 - 8 million served In which New York is bombarded by pre-prepared television reports to convince witnesses that everyone saw the same thing, and the Naudets continue to...
Aibo ERS-210 post DHS repair problems, con't edit Aibo ERS-210 post DHS repair problems continued
a Film by Anyone (working title) I'm not sure if this project is going to work but I can't wait to see what happens. Respond to this video to continue the film. Build on the charact...
Beta Mania BETA 7 FINISHED + UPLOADED! http://www.livevideo.com/video/12134AD95A5F4EB9A307065744C10069/sasunaru-fan-girl-toxic-by-br.aspx Just a bunch of my be...
Ubuntu 8.04 Photoshop CS2 9 Problems I got rid of Windows Vista and finally went all out with a linux operating system. I LOVE Ubuntu! Just have problems like many others are with instal...
Ubuntu 8.04 Photoshop CS2 9 Problems I got rid of Windows Vista and finally went all out with a linux operating system. I LOVE Ubuntu! Just have problems like many others are with instal...
continued edit 9:40pm DANI FELL OFF last piece for now.. i'd like to grab all the rants but lots of connection problems again..
Air... To be continued Another ffr song but I'm going to have to replay it because my camera decided to stop filming so that kinda got me a lil ticked off lol, so it stops ...




Search This Site:










dotnetnuke 2.0.3 security exception

error: connections to sql server files (*.mdf) require sql server express 2005 to function properly.

dotnetnuke -- almost setup...need help..!!

response.redirect page hangs

don't see css friendly control adapters templates after vsi install

iss and vs2005

portal cloning tool...

mail sending error

redirecting to a secured url using httpwebrequest class

xmddatasource problem with xslt transformation

dotnetnuke and active directory

could i change theme using ajax

(need help)creating a multi-threaded url status checker

2 of the simplest skins ever

threading security

advanced data grid and image display

where is the text/html module info stored

user validation using windows authentication

delete confirmation window

how to enable an item in the vs2005 toolbox?

can't access child subportals dnn 1.0.10e & dnn2

textbox.text as var

how to remove "terms of use privacy statement"

vs2005 and paypal

differences between visual web developer 2005 express edition and visual studio 2005?

compilation error

problems to create new user

can i revert to nt domain credentials while impersonating?

illegal cross thread operation

need one page link for localhost and server .. how

 
All Times Are GMT