Debugging: Stop on first executed line

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?SmVycnkgSg==?=

    Debugging: Stop on first executed line


    In debug mode, I want to be able to stop on the first executed line in my
    aspx.vb code page without setting a specific break point. Is there a way to
    do that?

    --
    Jerry J
  • =?Utf-8?B?SmVycnkgSg==?=

    #2
    RE: Debugging: Stop on first executed line


    What I want to do would be equivalent to setting a break point on the first
    line of each method in the code page.

    --
    Jerry J


    "Jerry J" wrote:
    >
    In debug mode, I want to be able to stop on the first executed line in my
    aspx.vb code page without setting a specific break point. Is there a way to
    do that?
    >
    --
    Jerry J

    Comment

    • Ray Costanzo

      #3
      Re: Debugging: Stop on first executed line

      Wouldn't that kinda be like telling someone to meet you somewhere but not
      specifying where and expecting the person to just magically know? :]

      Why not just put a breakpoint on Page_Load?

      Ray at work

      "Jerry J" <JerryJ@discuss ions.microsoft. comwrote in message
      news:372C8D8F-D07D-42E4-89DE-D5E9ECC302B3@mi crosoft.com...
      >
      In debug mode, I want to be able to stop on the first executed line in my
      aspx.vb code page without setting a specific break point. Is there a way
      to
      do that?
      >
      --
      Jerry J

      Comment

      • Lloyd Sheen

        #4
        Re: Debugging: Stop on first executed line


        "Ray Costanzo" <my first name at lane 34 dot commercialwrote in message
        news:B568E9BA-CE39-4448-A780-4BC4C4658EFA@mi crosoft.com...
        Wouldn't that kinda be like telling someone to meet you somewhere but not
        specifying where and expecting the person to just magically know? :]
        >
        Why not just put a breakpoint on Page_Load?
        >
        Ray at work
        >
        "Jerry J" <JerryJ@discuss ions.microsoft. comwrote in message
        news:372C8D8F-D07D-42E4-89DE-D5E9ECC302B3@mi crosoft.com...
        >>
        >In debug mode, I want to be able to stop on the first executed line in my
        >aspx.vb code page without setting a specific break point. Is there a way
        >to
        >do that?
        >>
        >--
        >Jerry J
        >
        Did you try F10/F11

        LS

        Comment

        • =?Utf-8?B?SmVycnkgSg==?=

          #5
          Re: Debugging: Stop on first executed line

          " Wouldn't that kinda be like telling someone to meet you somewhere but not
          specifying where and expecting the person to just magically know? "
          No, it would be more like having a set of places to meet and sending a
          different person to all of the places incase I show up in one of them.


          " Why not just put a breakpoint on Page_Load?"

          Because after page_load an event handler could be called and i want to break
          there. I guess I asked the wrong question then. What I really want is to
          stop in an event handler without having to figure out which event handler is
          going to be called.
          --
          Jerry J


          "Ray Costanzo" wrote:
          Wouldn't that kinda be like telling someone to meet you somewhere but not
          specifying where and expecting the person to just magically know? :]
          >
          Why not just put a breakpoint on Page_Load?
          >
          Ray at work
          >
          "Jerry J" <JerryJ@discuss ions.microsoft. comwrote in message
          news:372C8D8F-D07D-42E4-89DE-D5E9ECC302B3@mi crosoft.com...

          In debug mode, I want to be able to stop on the first executed line in my
          aspx.vb code page without setting a specific break point. Is there a way
          to
          do that?

          --
          Jerry J
          >

          Comment

          • Beemer Biker

            #6
            Re: Debugging: Stop on first executed line

            "Jerry J" <JerryJ@discuss ions.microsoft. comwrote in message
            news:372C8D8F-D07D-42E4-89DE-D5E9ECC302B3@mi crosoft.com...
            >
            In debug mode, I want to be able to stop on the first executed line in my
            aspx.vb code page without setting a specific break point. Is there a way
            to
            do that?
            I assume you are trying to debug a startup problem and want to step thru the
            code until the bug is hit?

            I tried to do the same thing once (stop on the first line) but it turned out
            I had an error in the properties page of a control and the error occured
            during the initialization before any VB or C# user code got executed.

            As another poster suggested, page_load is a good start.


            --
            =============== =============== =============== =============== ==========
            Joseph "Beemer Biker" Stateson

            http://ResearchRiders.org Ask about my 99'R1100RT
            =============== =============== =============== =============== ==========

            Comment

            Working...