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.