Jump to content
  • Advertisement
Sign in to follow this  
noatom

PIX debugging errors

This topic is 1723 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I attached the visual studio debugger to pix.When I run my app,using them,I get this error:

 

 

Unhandled exception at 0x6E94CE24 (PIXHelper.dll) in machine_test.exe.exe: 0xC0000005: Access violation writing location 0x07A04000.

 

The line pointed is a line where a vertex buffer is being unlocked(after being locked).

 

If I run the app in release/debug mode WITHOUT pix,it runs fine.

 

Any ideeas?

Share this post


Link to post
Share on other sites
Advertisement
PIX for Windows was never really stable. Most of the time it worked fine, but there were the occasional mysterious crashes and API call failures.

The VS2012 graphics debugger is more stable, if you have the option I suggest you give it a try.

Share this post


Link to post
Share on other sites

Have you run your app with the DirectX debug runtime? (switch this on from the DirectX control panel). It provides additional validation that might point out where you're doing something illegal (in case that's behind your issue with PIX).

Share this post


Link to post
Share on other sites

If you try to hook into the D3D lib calls pix will fail miserably as well. For example if it is a steam game, steam uses the same hooks that pix uses to draw their interface on top of the game, when you start both they fight and the game wont even run. So the hook messes with pix as well so if that is the case PIX is sadly not your tool.

 

You can offcourse use NVidia Nsight if on NVidia card or GPUPerfStudio for AMD cards.

Share this post


Link to post
Share on other sites

Also, if you still get Windows updates, there was recently an update that will break the libraries with PIX.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!