D0 is a debugger extension for C/C++ that provides live scripting and code inspection capabilities. Insert simple scripting snippets at runtime to print variables, view objects and inspect program state without recompiling, view live execution flow at runtime and more.
View execution flow live from the Visual Studio editor:
Attach the Visual Studio debugger to the target process.
Navigate to the file you want to view its flow. It may take a second before the highlighted lines appear.
Insert a new Angelscript scripting snippet:
Place the cursor on the line you want to insert a code snippet.
Right click on the line, and choose "Insert D0 snippet"
To print an object to the console write: print(object);, and save the file to compile the snippet.
To print an object to the Visual Studio console, write log(object);
To view all objects within the current scope, write view();. To bring up the Object View, from the top Visual Studio menu choose Extensions, D0 and Show Object View. If you need to view a specific object, use view(object);.
D0 will apply changes automatically, without recompiling your program.
View live call stack of a particular function:.
Place the editor cursor anywhere in the function to track the live call stack.
Bring up the Live Callstack window from the top Visual Studio menu: Extensions, D0, Live Callers.
Licensing:
To check licensing/activate a license:
From the top Visual Studio menu choose Extensions, D0, Licensing....
If you have any questions, please ask in the Q&A section or contact me: https://d-0.dev/contact/