Kareem Ergawy
Kareem Ergawy

Reputation: 677

Lua C API stack visualizer/viewer in Visual Studio 2013

I wanted to know whether there is someway to trace the Lua stack when debugging C++ applications that use Lua C API from within Visual Studio 2013.

I tried Googling but found nothing other than some stack dump functions. This can be an option for me but a GUI visualizer/viewer similar to the facilities provided for debugging C++ code (Locals, Memory, and Watch windows for example) will be much much better.

Upvotes: 8

Views: 689

Answers (1)

Lukas Rieger
Lukas Rieger

Reputation: 786

It is relatively easy to write your own visualizers.

I implemented one for a custom type with the help of the following link and some more googling: http://code.msdn.microsoft.com/windowsdesktop/Writing-graphical-debugger-a17e3d75

Just download the sample and modify it as needed.

(this could have been just a comment but i need 50 reputation for that)

Upvotes: 2

Related Questions