Message 1 of 1
2010 debugging help needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
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?