c++windowsvisual-studio

Command line arguments for Performance Profiler in Visual Studio


I need to profile my C++ project under Visual Studio 2022 (17.14.0) launch my project with some command line arguments. How do I pass it to the Performance Profiler, to "Startup project" ?

This question does not help


Solution

  • As per Pepijn comment, the only way I found is to start a process from command line, then attach the Profiler to it.