[英]How do I launch the HLSL debugger in Visual Studio 2017?
I cant find the option to launch the HLSL Debugger in Visual Studio 2017. 我找不到在Visual Studio 2017中启动HLSL调试器的选项。
The Microsoft document instructs to launch it from Graphics Pipeline Stages window or Graphics Pixel History Microsoft文档指示从Graphics Pipeline Stages窗口或Graphics Pixel History启动它
https://msdn.microsoft.com/en-us/library/hh873197.aspx https://msdn.microsoft.com/en-us/library/hh873197.aspx
However, I have no idea what those are or how to get to them 但是,我不知道它们是什么或如何到达它们
When I set a breakpoint in hlsl code in visual studio IDE directly, it just shows " The Breakpoint will not currently be hit
" over the empty red circle. 当我直接在visual studio IDE中的hlsl代码中设置断点时,它只显示空红色圆圈上的“ The Breakpoint will not currently be hit
”。 I assume I need to open the hlsl code in the hlsl debugger for it to break on the line. 我假设我需要在hlsl调试器中打开hlsl代码,以便它在行中断开。
I'm running a new project template DirectX 11 App(Universal Windows)
in x64 debug mode and setting breakpoints in both vertex and pixel shaders. 我正在x64调试模式下运行一个新的项目模板DirectX 11 App(Universal Windows)
,并在顶点和像素着色器中设置断点。
Thanks, 谢谢,
/Zi
option if you are using HLSL compiler. 确保使用调试支持编译着色器 - 如果使用HLSL编译器,则使用/Zi
选项。 D3D11_CREATE_DEVICE_DEBUG
flag). 确保在启用调试的情况下创建DX设备( D3D11_CREATE_DEVICE_DEBUG
标志)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.