locked
Multiple sub breakpoints where hat functions are

    Question

  • Our C++ based app has a very annoying behavior whereby it takes multiple "step over" commands to get over the line of code.  If you look at the break points window for the line you will see a + symbol on the left and if you open it you see multiple sub break points.  I don't see this same behavior when running through the C++ sample apps.

    Can someone tell me why this is happening, and how to stop it?

    Regards, Guy

    Wednesday, May 9, 2012 10:28 PM

Answers

  • There are numerous issues when debugging Windows Store apps with the mixed mode debugger.  The good news is that this experience is being greatly improved in the Visual Studio 2012 Update 1, which is currently available as a CTP.

    http://www.microsoft.com/en-us/download/details.aspx?id=34818

    Please try this out and let us know if it addresses your issues.


    Brad Sullivan - Program Manager - Visual Studio Debugger

    • Marked as answer by gnichola Friday, November 9, 2012 4:31 PM
    Friday, November 9, 2012 4:28 AM

All replies

  •  

    Hello,

     

    Would you please show us the detail codes about this issue, like which code you try to debug and which line do you set the break point.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, May 10, 2012 9:24 AM
  • Here is an example.  If I try to step over line 185, it will take me 3 steps before I get over it.  Interestingly, we have a test runner project that runs this same code and if I get to this same line in there the BP is a single item rather than 3 like it is here.

    Though I am showing a BP here it is irrelevant to the actual problem which is just that if you step over code with the -> you will have to step multiple times to get over the line.  The BP just gives you a visual example of the behavior.

    Regards, Guy


    • Edited by gnichola Thursday, May 10, 2012 12:54 PM
    Thursday, May 10, 2012 12:49 PM
  • Moving to tools forum for better coverage.

    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, May 11, 2012 1:10 AM
    Moderator
  • Nothing here?  There must be a way to disable this.

    Regards, Guy

    Monday, June 11, 2012 10:01 PM
  • Does this still repro on the RC?

    -James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Tuesday, June 12, 2012 9:53 PM
    Moderator
  • Yes, and I have investigated further.  Our project that exhibited the behavior is set to debug in mixed mode and the project that did not exhibit the behavior was native only, I switched the native only project to mixed mode and it started doing the multi-step/sub-bp thing, so it appears that it only happens when debugging in mixed mode.

    Regards, Guy

    Wednesday, June 13, 2012 6:19 PM
  • Thanks Guy,

    I've asked our tools folks to take a closer look at this for you. Hopefully one of them will have some insight.

    -James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Wednesday, June 13, 2012 11:16 PM
    Moderator
  • There are numerous issues when debugging Windows Store apps with the mixed mode debugger.  The good news is that this experience is being greatly improved in the Visual Studio 2012 Update 1, which is currently available as a CTP.

    http://www.microsoft.com/en-us/download/details.aspx?id=34818

    Please try this out and let us know if it addresses your issues.


    Brad Sullivan - Program Manager - Visual Studio Debugger

    • Marked as answer by gnichola Friday, November 9, 2012 4:31 PM
    Friday, November 9, 2012 4:28 AM