DirectX Extensions Problem for Visual Studio 2006  
Author Message
Bob2unlimited





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

Hello,

     I have tried to find an answer for my problem for the past week, and I am not sure if this is the right thread for it.  I have installed DirectX SDK April 2006 with the DirectX Extensions, and I am running VS2006.  When I start VS2006 I don't see the DX extension icon on the intro Splash Screen, but I am able to see it in the About Box for VS2006.  The problem is not that it is justnot loading - or something,  my problem is not being able to debug HLSL code.  If I place a break point in the *.fx file I get "This break point will not currently be hit. No symbols have been loaded for this document."

Now I am not sure if this has anything to do with my extensions not getting loaded correctly or not, and would appreciate some advice - even if it means looking up in a different thread.  BTW, I have all Direct3D settings set for debugging shaders in my application, so I know that can not be the problem.

 

Thanks,

Bob



Game Technologies: DirectX, XNA, XACT, etc.10  
 
 
David Weller





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

Two things here:

1) There is no "Visual Studio 2006". There is a Visual Studio 2005, which is what I assume you're using.

2) There haven't been "DirectX Extensions" for Visual Studio in about 2 years now. The about box only indicates the presence of the abiity to debug using the DIrect3D de****.

3) Debugging HLSL is no longer supported in VIsual Studio. Shaders should be debugged using PIX. Yes, we know source-level debugging isn't available yet in PIX. We're working on it.



 
 
Bob2unlimited





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

Yes I ment VS2005, thank you for pointing that out.  I appreciate the help and preventing me from getting even more confused reading books saying I can debug HLSL in VS.  Are these books assuming the environment for the code is in VS2003
 
 
The ZMan





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

Yes if you want shader debugging you can go back to VS2003

 
 
Tommy Tucker





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

Any idea when PIX will support source-level debugging Do you have a target release date yet Any plans to make PIX work seamlessly with VS 2005 de****

Source level debugging is a great tool. I just invested in VS 2005 and do a heavy amount of shader programming. I would have waited on the purchase if I'd have known.

If this post can expedite this functionality, please forward it to the appropriate personnel at Microsoft.


 
 
Sparklight





PostPosted: Game Technologies: General, DirectX Extensions Problem for Visual Studio 2006 Top

3) Debugging HLSL is no longer supported in VIsual Studio. Shaders should be debugged using PIX.



If that be true, a couple of pages need to be removed or clearly marked deprecated on Microsoft's sites:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Goal_5___Shader_Debugging_Tutorial.asp
and
http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Getting_Started_Debugging_Shaders.asp

I just wasted an hour pursuing these supposed instructions.

Ken