Render Doc fails to launch my application

8.4k views Asked by At

I have an executable file saved in the Debug folder of my Microsoft VS C++ project, the program runs fine when i double click on it and it basically shows me a 3D model that i can hover the camera around it, however when i try to run the program from render doc my console and SDL2 application window pops up and closes directly after that, all I am able to see is a Vulkan validation layer message as follows

validation Layer: While debugging through RenderDoc, debug output through validation layers is suppressed.
To show debug output look at the 'DebugOutputMute' capture option in RenderDoc's API, but be aware of false positives from the validation layers.

Iam using RenderDoc v1.1 for debugging, SDL2 for window and and event handling, vulkan as my graphics API and C++. i cannot capture a single frame.

i have two debug folders one has the executable file while the other contains many dependent project files.

my main debug folder is as follows:-

enter image description here

note that i explicitly copied some dependent files and folder into this debug folder so that i would work directly by double clicking on the executable files

my debug sub folder is as follows:-

enter image description here

my renderDoc screenshot is as follows: -

enter image description here

1

There are 1 answers

0
Riki Lee On

I had the same problem. Just like @Sascha Willems said, that's because I enabled VK_EXT_EXTENDED_DYNAMIC_STATE_3_EXTENSION_NAME device extension that RenderDoc not supported.