Freigeben über


Walkthrough3: Breakpoints and Stopping Events now available

I have uploaded another walkthrough for the new debug engine sample. This one explains breakpoints, breakpoint binding and stopping events in the sample engine. It is available along-side the other walkthroughs and the actual sample download at https://code.msdn.microsoft.com/debugenginesample

Comments

  • Anonymous
    February 28, 2008
    PingBack from http://www.biosensorab.org/2008/02/28/walkthrough3-breakpoints-and-stopping-events-now-available/

  • Anonymous
    March 03, 2008
    The comment has been removed

  • Anonymous
    March 12, 2008
    I find your sample and tutorial very useful! Could you please clarify one thing. SampleEngine depends on Microsoft.VisualStudio.Debugger.Interop.dll assembly (supplied with MS Visual Studio SDK). How such DE may be distributed to those users of Visual Studio who don't have VSIP/VSSDK? Thanks!

  • Anonymous
    March 13, 2008
    ivanromanov: I don't think you need to redistribute that pia. It should be available in the GAC when Visual Studio is installed. The SDK only adds another copy to make it easy to add a reference to it in the project. Jackson

  • Anonymous
    April 16, 2008
    Jackson, I have a couple of questions:

  1. method IDebugThread2.GetThreadProperties (AD7.ImplAD7Thread.cs:157): are you missing a statement "propertiesArray[0] = props;"?
  2. method AD7PendingBreakpoint.GetDocumentContext (AD7.ImplAD7PendingBreakpoint.cs:64): why did you write "return new AD7DocumentContext(documentName, startPosition[0], startPosition[0], codeContext);" ? Why not "... startPosition[0], endPosition[0]..."? I saw that endPosition (returned by IDebugDocumentPosition2.GetRange()) looks weird sometimes, but I didn't found good explanation of its meaning in the MSDN. Thank you!
  • Anonymous
    May 20, 2008
    Ivanromanov, Those are both bugs. Thanks for reporting them. I'll get them fixed as soon as I can. Jackson