Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro Where do you get developer info for Vegas

  • Edward Troxel

    June 5, 2007 at 7:22 pm

    You can do debugging of scripts if you work in c# in Visual Studio.

    Edward Troxel
    JETDV Scripts

  • Bob Tasa

    June 6, 2007 at 12:52 am

    I am in VS 2005 but the debugger did not stop.
    I opened a .cs file.
    Then I attached the debugger to Vegas process.
    Then I set break points and nada. The debugger didnt
    stop. Did I do something wrong?

    Thanks for all the tons of help Ed,
    Bob

  • Bob Tasa

    June 6, 2007 at 10:13 am

    I should have added that I executed the script via the menu
    and the debugger did not hit the break point. I was trying to debug
    the XML Export script for practice thats included in Vegas 7.

    Thanks,
    Bob

  • Edward Troxel

    June 6, 2007 at 12:26 pm

    You have to start the script within Visual Studio. To do that, VS has to compile and then “start” the script by starting Vegas with the “-script” option. Doing it that way *does* work – it’s just a little complicated to set up.

    Edward Troxel
    JETDV Scripts

  • Bob Tasa

    June 7, 2007 at 5:46 pm

    Call me dense but I didnt get that. I have tried off and on for a bit. Compile to what? There is no project just a .cs file.
    So there is a piece I am missing here or just not sure how to work.
    I can set the debug options to start the Vegas.exe -script thats not an issue. Just not sure about the compile thing..
    BUT.. I am learning and a newbie. Sorry for all the questions.
    Bob

  • Edward Troxel

    June 7, 2007 at 6:37 pm

    I have mine set up to compile to a DLL and the DLL is what Vegas is actually using instead of a .cs file. You also get code completion when doing it that way. Vol 4 #3 of my newsletters gives the basics of setting it up so that it works with code completion and then compiles to a DLL file.

    Then with it set to the debugging configuration, go to the properties pages. Under “Configuration Properties” pick “Debugging”. Now change the “debug mode” to “Program”. Next change the “Start Application” to point to Vegas. Finally, change the “Command Line Arguments” to read -SCRIPT:”path to your debug compiled script.dll”

    Edward Troxel
    JETDV Scripts

Page 2 of 2

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy