תשובה Multiple sub breakpoints where hat functions are

  • יום רביעי 09 מאי 2012 22:28
     
     

    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

כל התגובות

  • יום חמישי 10 מאי 2012 09:24
    מנחה דיון
     
     
     

    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

  • יום חמישי 10 מאי 2012 12:49
     
     

    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


    • נערך על-ידי gnichola יום חמישי 10 מאי 2012 12:54
    •  
  • יום שישי 11 מאי 2012 01:10
    מנחה דיון
     
     
    Moving to tools forum for better coverage.

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

  • יום שני 11 יוני 2012 22:01
     
     

    Nothing here?  There must be a way to disable this.

    Regards, Guy

  • יום שלישי 12 יוני 2012 21:53
    מנחה דיון
     
     

    Does this still repro on the RC?

    -James


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

  • יום רביעי 13 יוני 2012 18:19
     
     

    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

  • יום רביעי 13 יוני 2012 23:16
    מנחה דיון
     
     

    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/

  • יום שישי 09 נובמבר 2012 04:28
     
     תשובה

    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

    • סומן כתשובה על-ידי gnichola יום שישי 09 נובמבר 2012 16:31
    •