Jump to content

  • Log In with Google      Sign In   
  • Create Account


VS 2012 Graphics Debugger. Connect to running app.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Volgogradetzzz   Members   -  Reputation: 534

Like
0Likes
Like

Posted 25 June 2013 - 04:18 AM

Hello. I know how to run debugger from VS. But I can't figure out how to connect to other app - not created in Visual Studio. For example, in PIX we can choose app to run and start debugging. Is it possible with VS?



Sponsor:

#2 c-up   Members   -  Reputation: 324

Like
0Likes
Like

Posted 25 June 2013 - 06:43 AM

Debug > Attach to process...



#3 RealNoname   Members   -  Reputation: 157

Like
1Likes
Like

Posted 25 June 2013 - 06:44 AM

Debug -> Attach to process? But if you don't have pdb files of that app/lib, you only would have access to decompiled code at most.



#4 Ravyne   Crossbones+   -  Reputation: 6996

Like
2Likes
Like

Posted 25 June 2013 - 12:34 PM

Its not possible to attach the Graphics Diagnostics Tools in VS2012 to an app that's already running. However, you might be able to run Graphics Diagnostics against an executable using the directions found here: Walkthrough: Capturing Graphics Information Manually, in the procedure To enable the capture of graphics information without loading a project or solution. Of course, there will be limitations on what works since you probably don't have the PDBs, Source Code, or shader assets, but the basic inspection of draw calls, framebuffer, device state and Direct3D objects and resources should work. You just need to know where the application's .EXE is located.

 

Note that there is a programmatic API that the developer might have employed in order to prevent tools Like Graphics Diagnostics from hooking the application. If they have, you're out of luck, but it seems uncommon that developers have done so. 



#5 Volgogradetzzz   Members   -  Reputation: 534

Like
0Likes
Like

Posted 25 June 2013 - 02:04 PM

Thank you. It's almost works. As Ravyne have said there should be pdb for full debugging. Without it I can't step through code and look at locals. But in PIX it worked.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS