Jump to content
  • Advertisement
Sign in to follow this  
shwasasin

MSVC Watch Window Scripting?

This topic is 3296 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

Hey Everyone, I'm working with a codebase that uses large amounts of script and find myself going crazy that I cannot throw any break points in or view the callstack. I've found the place in the interpreter where the call stack is, but it's a linked list and cannot easily be displayed in the watch window. Is there some sort of scripting mechanism I can use to print out all entries in the list until null? Simply copying/pasting level after level sucks and a more elegant solution would be ideal. Any thoughts would be much appreciated. Thanks! i.e. CurrentStackLevel->Name CurrentStackLevel->PreviousLevel->Name CurrentStackLevel->PreviousLevel->PreviousLevel->Name

Share this post


Link to post
Share on other sites
Advertisement
You can try to modify the "autoexp.dat" file of your Visual Studio. This file is used to represent HRESULTs and some complex types like STL containers in readable form.

Here's one article for a start.

Hope this will help.

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!