Profiling native components in a JavaScript-based app RRS feed

  • Question

  • Hi all,

    I'd like to run some performance analysis on the native components we wrote for our app. But "Start Performance Analysis" in Visual Studio will always just profile Javascript-based code, regardless whether I change the debug mode to Native or Script.

    Is there anything I can change to have it profile the native code instead?

    All the best

    Wednesday, December 5, 2012 4:30 PM

All replies

  • Hi,

    When you're testing your component as part of a Windows Store app using JavaScript, by default the solution is in JavaScript debugging mode. In Visual Studio 2012 and Visual Studio Express 2012 for Windows 8, you can't debug JavaScript and managed code at the same time.

    And try to use Managed Only.

    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, December 6, 2012 8:56 AM
  • The problem is that selecting another debugging mode won't do anything for the profiler: selecting native mode in the debugger (to get profiling results for the C++ components) will still run profiling only for the JavaScript code.

    I don't need any mixed-mode profiling, a separate run with profiling data only for the C++ component would be fine, but I don't see how to set the profiler to work on native code instead of JavaScript.

    Thursday, December 6, 2012 9:51 AM