Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

Re: Debug messages with SharpDevelop

$
0
0

You could always print to a file and view that in an editor side by side.

 

I implemented a simple error log that you could base you debug messaging system on in 

 

https://github.com/jeremytammik/rvtmetaprop

 

Look at these lines, and all the lines putting together the list of leog message strings:

 

https://github.com/jeremytammik/rvtmetaprop/blob/master/rvtmetaprop/Command.cs#L426-L437

 

If you close the file after every line and your editor support live updates, you should see the messages appear as they are created.

 

There are certainly other, better, simpler and more proper (properer?) ways of handling this as well.

 

Cheers,

 

Jeremy


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>