Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Debugger for Geometric Objects

When working on my library representing geometric objects, Debugging currently looks like this:

enter image description here

Here I am viewing the local variables in the Autos, Locals, Watch and Immediate windows.

As I have trouble imagining the shape of the object in my mind, I would prefer a graphical component to represent these objects. So I have started creating a Debugger Visualizer to draw the objects. I have it in a public repo on bitbucket here.

Right now I cannot get it to work outside of the Console Application I have in the solution with it. What am I doing wrong?

here is what it looks like when it works:

enter image description here

Also, How can I do this in a way that will allow me to view multiple objects at a time. I realized that I really want to see multiple objects and their interactions, instead of just the single objects. (e.g Look for intersections and such).

P.S.

Has anyone seen a debugger extension anywhere like this? or have any suggestions of how I can fix my current one?

I have attempted this in the form of a Visual Studio Extension with no success as well. See this question for more details.

like image 865
jth41 Avatar asked Sep 29 '14 17:09

jth41


1 Answers

One possible option for you would be downloading the compiled DLL from

Graphics Debugger Visualizer

and decompressing them into your Debugger\Visualizers folder. Somewhere like

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\Visualizers\

Then restart your visual Studio. As soon soon you start debugging you will see Graphic debugger sign next to the run-time value of the Graphics variable as described in the codeproject solution I mentioned earlier.

Update 1: I also highly recommend you to have a look at the following blog where S.Ullah the author of Custom Visual Studio Visualizer illustrates how to create a visualizer for in memory graphics:

Custom Visual Studio Visualizer

There used to be commercially available product called Mole however it is no longer available for new buyers(I don't know why)

like image 53
MHOOS Avatar answered Oct 14 '22 08:10

MHOOS