DirectX Extensions Problem for Visual Studio 2006

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



Answer this question

DirectX Extensions Problem for Visual Studio 2006

  • Theeran

    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 debugger.

    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.



  • SteveRadich-BitShop.Com

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

  • larr

    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 debugger

    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.


  • VenkataS

    David Weller - MSFT wrote:

    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


  • Ken Levy

    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
  • DirectX Extensions Problem for Visual Studio 2006