Debugger one-line-off issue

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

    #1

    Debugger one-line-off issue

    I take it this still hasn't been resolved.

    Just so I know what I'm up against... what happens if the break was supposed
    to be on the last line of a method? Is the "next line" back to the line
    following the calling code? This will be really nasty if that's the case.


  • Dmitriy Lapshin [C# / .NET MVP]

    #2
    Re: Debugger one-line-off issue

    Hi Daniel,

    Ensure your assembly and its PDB file are up to date. I have experienced
    some nasty line-offs during debugging when I have a PDB file older than the
    corresponding assembly.

    --
    Dmitriy Lapshin [C# / .NET MVP]
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE

    "Daniel Billingsley" <dbillingsley@N O.durcon.SPAAMM .com> wrote in message
    news:%23DTb$0Zi DHA.620@TK2MSFT NGP11.phx.gbl.. .[color=blue]
    > I take it this still hasn't been resolved.
    >
    > Just so I know what I'm up against... what happens if the break was[/color]
    supposed[color=blue]
    > to be on the last line of a method? Is the "next line" back to the line
    > following the calling code? This will be really nasty if that's the case.
    >
    >[/color]

    Comment

    • Ignacio Machin \( .NET/ C#  MVP \)

      #3
      Re: Debugger one-line-off issue

      Hi Daniel,

      I suggest that you rebuild your entire solution, I sometimes get this kind
      of error is cause the source code and the compiled code are different
      versions.

      Cheers,

      --
      Ignacio Machin,
      ignacio.machin AT dot.state.fl.us
      Florida Department Of Transportation

      "Daniel Billingsley" <dbillingsley@N O.durcon.SPAAMM .com> wrote in message
      news:%23DTb$0Zi DHA.620@TK2MSFT NGP11.phx.gbl.. .[color=blue]
      > I take it this still hasn't been resolved.
      >
      > Just so I know what I'm up against... what happens if the break was[/color]
      supposed[color=blue]
      > to be on the last line of a method? Is the "next line" back to the line
      > following the calling code? This will be really nasty if that's the case.
      >
      >[/color]


      Comment

      Working...