Debugging code

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

    Debugging code

    How can I set a breakpoint in vb.net and then use F5 to start and then F8
    to go through the code line by line?
    regards
    reidarT


  • Chris Dunaway

    #2
    Re: Debugging code

    If you click on the margin to the left, a breakpoint should be set.
    When the code hits that part, it should break. Are you seeing
    different behavior?

    Make sure you are compiling in debug mode.

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Debugging code

      "Chris Dunaway" <dunawayc@gmail .com> schrieb:[color=blue]
      > If you click on the margin to the left, a breakpoint should be set.[/color]

      .... or "Debug" -> "New breakpoint..." ;-).

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

      Comment

      • Jan Hyde

        #4
        Re: Debugging code

        "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at>'s wild
        thoughts were released on Thu, 1 Sep 2005 15:20:45 +0200
        bearing the following fruit:
        [color=blue]
        >"Chris Dunaway" <dunawayc@gmail .com> schrieb:[color=green]
        >> If you click on the margin to the left, a breakpoint should be set.[/color]
        >
        >... or "Debug" -> "New breakpoint..." ;-).[/color]

        ..... or hit F9





        Jan Hyde (VB MVP)

        --
        Ramadan is fast approaching. (Priscilla H Ballou)

        [Abolish the TV Licence - http://www.tvlicensing.biz/]

        Comment

        Working...