Skip to main content
GameDev.net gamedev.net
🔒 Locked

Better debugger than Pix?

Started by sriam Aug 31, 2011 at 4:27 AM 1 replies 1.9k views
Original Post
sriam
sriam
Hi,

I've been using Pix's Shader debugger to step through my HLSL code and realized that it won't let me watch variables as well as VS does. Many times it does not place local variables into the Variables window.

Are there any tricks to force a variable to be placed into Pix's Variables windows so I may see the values?

Particularly I want to watch a float4x4 variable and have yet to find a neat way to do it.

Thanks in advance.
MJP
MJP
It should show all local variables once they're assigned. It won't show up if the variable was optimized away, which can happen in a few cases even with optimizations disabled. I would suggest looking at the assembly whenever you want to see what's really going on.
Litheon
Litheon
You can also use NVIDIA Parallel Nsight. (for DX10 and DX11) , but if you want to debug a shader you must use another pc that is connected to the pc where your app is running on.

http://www.nvidia.com/object/parallel-nsight.html

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.