2010 debugging help needed

2010 debugging help needed

phildebrandt
Enthusiast Enthusiast
299 Views
0 Replies
Message 1 of 1

2010 debugging help needed

phildebrandt
Enthusiast
Enthusiast
I must have something setup wrong. I'm trying to debug a macro I created in VSTA but I can't seem to get the value of variables in the watch window.

For a test I wrote the following code in a super small macro:

Autodesk.Revit.Document doc = this.ActiveDocument;
Autodesk.Revit.Selection sel = doc.Selection;
System.Windows.Forms.MessageBox.Show("Hello World!");

but when I step into from the macro manager and add a watch to the variables doc and sel the value for both comes out as:

{System.Runtime.Remoting.Proxies.__TransparentProxy}

Anyone know what is going on?
0 Likes
300 Views
0 Replies
Replies (0)