Edit and Continue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Venkat

    #1

    Edit and Continue

    Hi,

    Edit and continue does not work when i attach my application to source code?
    Can any body tell me why it is not working? It works fine when i start my
    application from the source code using F5 button. If i attach then it does
    not work? are there any limitations to Edit and continue?

    Cheers,
    Srikanth


  • George Hardy

    #2
    Re: Edit and Continue

    i hope you find out, because i thought vs.net2005 was like the old vb6, in
    that you could change live running code. I cant seem to get it to work
    either.



    "Venkat" <tammanas@hotma il.comwrote in message
    news:uTmixLhwHH A.4184@TK2MSFTN GP06.phx.gbl...
    Hi,
    >
    Edit and continue does not work when i attach my application to source
    code?
    Can any body tell me why it is not working? It works fine when i start my
    application from the source code using F5 button. If i attach then it does
    not work? are there any limitations to Edit and continue?
    >
    Cheers,
    Srikanth
    >
    >

    Comment

    • George Hardy

      #3
      Re: Edit and Continue

      well, i was finally able to get one of my 50 forms converted to the new
      format. (filename.vb, filename.design er.vb, and filename.resx.

      i created a new dummy form, and named it filename2.

      i then copied all the design time controls from the old form to the new
      form. I then copied the code i wrote from the old file to the new one. It
      seems pretty cheesy that the conversion wizard couldn't do this. Seems like
      a good add-in tho (hint hint).

      After only 3 crashes of the development studio, it compiled, and was STILL
      NOT able to edit and continue on this one form.

      strange

      george


      "Venkat" <tammanas@hotma il.comwrote in message
      news:uTmixLhwHH A.4184@TK2MSFTN GP06.phx.gbl...
      Hi,
      >
      Edit and continue does not work when i attach my application to source
      code?
      Can any body tell me why it is not working? It works fine when i start my
      application from the source code using F5 button. If i attach then it does
      not work? are there any limitations to Edit and continue?
      >
      Cheers,
      Srikanth
      >
      >

      Comment

      • Armin Zingler

        #4
        Re: Edit and Continue

        "George Hardy" <nospam@nospam. comschrieb
        well, i was finally able to get one of my 50 forms converted to the
        new format. (filename.vb, filename.design er.vb, and filename.resx.
        >
        i created a new dummy form, and named it filename2.
        >
        i then copied all the design time controls from the old form to the
        new form. I then copied the code i wrote from the old file to the
        new one. It seems pretty cheesy that the conversion wizard couldn't
        do this. Seems like a good add-in tho (hint hint).
        >
        After only 3 crashes of the development studio, it compiled, and was
        STILL NOT able to edit and continue on this one form.
        Menu Tools -Options: Debugging -Edit and Continue

        Enabled?

        Though, it is not possible to attach to a running process and use
        Edit&Continue. It's only available if you start the application in the IDE
        /with/ debugging (not "start without debugging").


        Armin

        Comment

        • George Hardy

          #5
          Re: Edit and Continue

          yup, all turned on, and all files locked during runtime. i dont get it.

          george



          "Armin Zingler" <az.nospam@free net.dewrote in message
          news:%23RxJeiIy HHA.1164@TK2MSF TNGP02.phx.gbl. ..
          "George Hardy" <nospam@nospam. comschrieb
          >well, i was finally able to get one of my 50 forms converted to the
          >new format. (filename.vb, filename.design er.vb, and filename.resx.
          >>
          >i created a new dummy form, and named it filename2.
          >>
          >i then copied all the design time controls from the old form to the
          >new form. I then copied the code i wrote from the old file to the
          >new one. It seems pretty cheesy that the conversion wizard couldn't
          >do this. Seems like a good add-in tho (hint hint).
          >>
          >After only 3 crashes of the development studio, it compiled, and was
          >STILL NOT able to edit and continue on this one form.
          >
          Menu Tools -Options: Debugging -Edit and Continue
          >
          Enabled?
          >
          Though, it is not possible to attach to a running process and use
          Edit&Continue. It's only available if you start the application in the IDE
          /with/ debugging (not "start without debugging").
          >
          >
          Armin
          >

          Comment

          Working...