Vegas API DebugOut

Gary James wrote on 3/24/2013, 4:03 PM
Vegas has a set of API Methods DebugOut() and DebugClear(). But these are completely undocumented other than the totally useless description given in the VegasScriptAPI document in the developers kit.

Does anyone know what these do? They sound like they could be useful, but where does the output text go after you've made the method call and passed in your error message? The API document says the message text is sent to the script editor window ??? But makes no mention of what, or where that is.

Comments

altarvic wrote on 3/25/2013, 12:51 AM
Gary, press Ctrl+Alt+0 to reveal the script editor window (pretty useless)
DebugOut sends a string to this window.

Personally, I prefer to use OutputDebugString function with DebugView utility from SysInternals to catch those messages
Gary James wrote on 3/25/2013, 7:09 AM
I see what you mean about the value of the script editor.

I'm familiar with SysInternals DebugView. Years ago I used this all the time when I wrote programs in C++ before Dot Net appeared. But I had never even considered using it with C# and a Vegas extension. Great suggestion.

In your OutputDebugString link I happened to notice that the standard C# Debug.Writeline () method sends it's output to this hook. That makes it even easier to use than the Vegas DebugOut call.

Thanks again. As usual you've been very helpful.