Debugging Issue

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

    Debugging Issue

    I'm newbie to VB.net, I used to work on Ver VB 6.0.

    When I'm debugging using VB.Net it is not allowing me to update any code
    when I'm running.

    Also when I do F8 it is not taking me thru the whole code, it goes into the
    initial event and then it exits the debugger and runs the whole application.

    Do I need to set some thing or its the behaviour with the .Net.

    Any suggestions are of great help.


    Rgds,
    Sindbaad
  • Cor Ligthert

    #2
    Re: Debugging Issue

    Sindbaad,

    That is normal. In the next version a part of that VB6 behaviour will come
    back. (With limitations is told).

    (For the rest is debugging in VBNet in my opininion very good, you can watch
    all kind of windows).

    Cor


    Comment

    • Carlos J. Quintero [.NET MVP]

      #3
      Re: Debugging Issue

      "Sindbaad" <sindbaad@gmail .com> escribió en el mensaje
      news:B65D0622-070F-449E-88A4-54AC83D40E54@mi crosoft.com...[color=blue]
      > I'm newbie to VB.net, I used to work on Ver VB 6.0.
      >
      > When I'm debugging using VB.Net it is not allowing me to update any code
      > when I'm running.[/color]

      Edit & Continue is not supported in VS.NET 2002/2003, it will in VS 2005. At
      most, you can edit enabling it in Tools, Options, Debugging, Edit and
      Continue, but changes won´t apply until next run
      [color=blue]
      > Also when I do F8 it is not taking me thru the whole code, it goes into
      > the
      > initial event and then it exits the debugger and runs the whole
      > application.[/color]

      Have you switched to Visual Basic 6 keyboard mapping (Tools, Customize,
      Keyboard, Keyboard Mapping Scheme?

      --

      Carlos J. Quintero

      MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
      You can code, design and document much faster.
      MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.




      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: Debugging Issue

        "Sindbaad" <sindbaad@gmail .com> schrieb:[color=blue]
        > When I'm debugging using VB.Net it is not allowing me to update any code
        > when I'm running.[/color]

        Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
        VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
        allows you to edit code in debug mode ("Tools" -> "Options" ->
        "Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
        debugging"). Notice that changes in the code will take effect after
        restarting debugging.

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

        Comment

        • Sindbaad

          #5
          Re: Debugging Issue

          Thank you very much folks !

          It actually worked after changing the setting in Tools -> Options.

          Thank you,
          Sindbaad

          "Herfried K. Wagner [MVP]" wrote:
          [color=blue]
          > "Sindbaad" <sindbaad@gmail .com> schrieb:[color=green]
          > > When I'm debugging using VB.Net it is not allowing me to update any code
          > > when I'm running.[/color]
          >
          > Edit and Continue is not supported in VB.NET 2002/2003. It will be back in
          > VB 2005. What you can do in VB.NET 2002/2003 is changing a setting that
          > allows you to edit code in debug mode ("Tools" -> "Options" ->
          > "Debugging" -> "Edit and continue" -> [X] "Allow me to edit VB files while
          > debugging"). Notice that changes in the code will take effect after
          > restarting debugging.
          >
          > --
          > M S Herfried K. Wagner
          > M V P <URL:http://dotnet.mvps.org/>
          > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
          >
          >[/color]

          Comment

          Working...