Results 1 to 14 of 14

Thread: problem with Edit and Continue in VB2005 IDE

  1. #1

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Thumbs up problem with Edit and Continue in VB2005 IDE

    Hi MVB Team,

    Thank u very much for developing a wonderful framework to increase the productivty in the business,,,,,

    Ok, in our organization, we using vs 2005, developing vb.net stand alone application and some web application too,,,,

    During debugging,usually we made break in some area and to check the flow of application is correct????.When doing this, we cant able to edit the code.

    While breaking if we found that our workflow is wrong know, we have to stop the debug and have to edit the code then again start debugging.


    The problem we facing for last 5 months.Before that we can able to edit it, when breaking through the code..

    Can Your the team help for solving this problem

    Thanks in Advance
    Dana

  2. #2
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Re: problem with Edit and Continue in VB2005 IDE

    Dear vb team,
    Welcome to vbF,
    As Dana told in our organization too, we facing the same problem.

    Basically we r developing three application by three different teams.

    Among one is vb.net application,
    Initially when starting the application, we can able to edit the code when debugging,
    But now we cant able to edit it,We thought this problem arose because of referencing some third party dll in our application.

    MSVB Team, what's u pupil saying about this???
    Visual Studio.net 2010
    If this post is useful, rate it


  3. #3
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,522

    Re: problem with Edit and Continue in VB2005 IDE

    I know this was an issue in VS2003.... but I've been using the Edit and Continue feature of VS2005.... well, since it came out. The only time I have problems is if my current thread has gone off in to the Framework code and hasn't returned to my code...

    It may also have to do if vsHost is turned off or on for the app.... I turned it off once.... never again.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,226

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by techgnome
    I know this was an issue in VS2003.... but I've been using the Edit and Continue feature of VS2005.... well, since it came out. The only time I have problems is if my current thread has gone off in to the Framework code and hasn't returned to my code...

    It may also have to do if vsHost is turned off or on for the app.... I turned it off once.... never again.

    -tg
    tg,
    I am using VS 2005, but i do not see this feature.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  5. #5
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: problem with Edit and Continue in VB2005 IDE

    Correct me if I'm wrong, but doesn't the code have to be compiled to run? If you aren't threading, then any edits you make in the code would have to be recompiled, thus forcing the app to restart itself. I could be wrong here, but that's how it makes sense in my head.

  6. #6
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by abhijit
    tg,
    I am using VS 2005, but i do not see this feature.
    Are you using the Express version? I don't believe it is available in that version?

  7. #7
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by timeshifter
    Correct me if I'm wrong, but doesn't the code have to be compiled to run? If you aren't threading, then any edits you make in the code would have to be recompiled, thus forcing the app to restart itself. I could be wrong here, but that's how it makes sense in my head.
    You've been in the dark
    It's an amazing feature.

    You can do this, for instance:
    Dim v as integer = 7
    v += 3
    ''output v or soemthing

    Put a breakpoint on c += 3, when it breaks, change the 3 to a 5.. then continue, v will now = 12 instead of 10.

  8. #8
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: problem with Edit and Continue in VB2005 IDE

    Somebody needs to show me how to do that. That would be an awesome tool to have for debugging small pieces of a large app.

  9. #9
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    1

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by danasegarane
    During debugging,usually we made break in some area and to check the flow of application is correct????.When doing this, we cant able to edit the code.

    While breaking if we found that our workflow is wrong know, we have to stop the debug and have to edit the code then again start debugging.
    Hi,

    A possible cause is that the binaries loaded into the debug session ended up being built as release/optimized. When you're in break mode, do you see a 'Modules' item under the Debug-->Windows menu (depends on the product edition)? If so, could you look for your binaries in that window and see if the 'Path' column contains 'bin\Release' and if the 'Optimized' column contains 'Yes'?

    Thanks,

    Ernest

  10. #10
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by ErnestT
    Hi,

    A possible cause is that the binaries loaded into the debug session ended up being built as release/optimized. When you're in break mode, do you see a 'Modules' item under the Debug-->Windows menu (depends on the product edition)? If so, could you look for your binaries in that window and see if the 'Path' column contains 'bin\Release' and if the 'Optimized' column contains 'Yes'?

    Thanks,

    Ernest
    @ Ernest,
    We using licensed version, vs 2005
    I checked 'Optimized' column its set to 'NO', Whether this is the problem ah???? How to overcome this problem???
    Visual Studio.net 2010
    If this post is useful, rate it


  11. #11
    Frenzied Member Phill64's Avatar
    Join Date
    Jul 2005
    Location
    Queensland, Australia
    Posts
    1,201

    Re: problem with Edit and Continue in VB2005 IDE

    This chat is going off topic

    Quote Originally Posted by brad jones
    This forum should not be used for technical support. Technical support questions will be moved to the primary forum. This forum is also not the time or place to complain about Visual Basic 6. If you want to provide suggestions or comments for future versions of Visual Basic, that is appropriate.

  12. #12

    Thread Starter
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by Phill64
    This chat is going off topic
    I dont think so. This problem I facing long time.I have posted in some forums also. As the MVB team is here, there is no horm in requesting help from them.

    Hope brod wil also agree with me

    Dana

  13. #13
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: problem with Edit and Continue in VB2005 IDE

    Nah its not going off topic at all

    I'd be interested to find out the proper cause of this problem.

  14. #14
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,608

    Re: problem with Edit and Continue in VB2005 IDE

    Quote Originally Posted by danasegarane
    I dont think so. This problem I facing long time.I have posted in some forums also. As the MVB team is here, there is no horm in requesting help from them.

    Hope brod wil also agree with me

    Dana

    This slow chat is not intended for technical support, so this thread actually is off topic. I'll not move it; however, we should not expect bug resolution in this forum's chat. That is not why the VB Team is here.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width