Jump to content

Debugging Logic Pro X Scripter Objects with Visual Studio 2017


Recommended Posts

To cut down on my errors with Logic Pro X Scripters, I use Visual Studio 2017 to debug it.

Using a debugger like Visual Studio helps me a lot.

I show the template I use to debug a Logic Pro X Scripter object.

 

Obviously, the final test is using Logic Pro X, but at least I'll cut down on dumb mistakes before going into Logic Pro X. :mrgreen:

Link to comment
Share on other sites

So here's my setup.

vssetup.thumb.png.798578a51b3741ad8ec2430071c5a1e4.png

I put logic javascript to help in testing and debugging in logic.js.

Then I put the simulation of Logic Pro X in main.js.

 

In my index.html for the Visual Studio project, I just order these two files as well as a scripts/active.js entry.

Anytime I want to work with a script in the scripts folder, I rename it to active.js and once I'm done, I rename it back to the original file name.

 

This is working pretty good and very helpful in debugging Logic Pro X scripts.

 

I'll see if I can get the same kind of setup with Visual Studio for the Mac since that's available now.

js.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...