Debugging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using Revit 2013. I'm trying to learn C#. I programmed AutoCAD using VBA and LISP. When I debugged programs in Visual Basic for AutoCAD I was easily able to debug the program by stepping into the program line by line and the variables window would tell me what the variables were set to. I am basically brand new to C#. When I try to debug my simple macro by using the Debug pulldown do I "Attach to Process"? If so do I chose Revit? I tried this and when I click anywhere inside my macro the Step over/into/out functions are greyed out. I just need a basic understanding of how to get the debugging to work so that I could see what my variables are being set to and be able to send results to the output window. (like debug.print in visual basic. Any help with this would deeply appreciated.