Script debugger recommendation

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

chrisjj
Posts: 4926
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Script debugger recommendation

Post by chrisjj » Wed Dec 22, 2010 9:45 am

Can anyone recommend a tool for debugging (inc. breakpoint code, inspect variables etc.) scripts launched from within MM?

I've tried VBSEdit with MicroSoft Script Debugger - no joy. I see no way to tell it to connect to MM. Here Tools | Running scripts... does not show a script running in MM e.g. waiting at a MsgBox.

As an experiment I put a Stop in an MM script (to see what debugger would be launched) and MM apparently ignored it - no error, no debugger.

Thanks.
Chris

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Barton, UK
Contact:

Re: Script debugger recommendation

Post by trixmoto » Wed Dec 22, 2010 11:49 am

No, but I find create debug logfiles works pretty well for me. Especially useful cos you can send them out to other people as well, as many people manage to come up with problems that I can't replicate! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Send me BTC: 34VQPVsf9mCeR4nfhFvvBYZqQ7LkqNZ8Mn
Send me LTC: 3P1mzrfbyscdhbxRpXLgKz7tufGAU3SrEG
Send me DOGE: 9xPpYSqgF7P5yQiqvE1VqWb4UjxVCCLFJ6
Check out these great cryptocurrency faucets... BTC / LTC / DOGE

chrisjj
Posts: 4926
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: Script debugger recommendation

Post by chrisjj » Wed Dec 22, 2010 12:10 pm

Thanks.

http://www.mediamonkey.com/wiki/index.p ... ks#Links_2 suggests
Microsoft Script Debugger for Windows NT 4.0 and Later (debugging)
Anoyone got this to do any debugging on MM scripts?
Chris

MMuser2011
Posts: 1223
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Script debugger recommendation

Post by MMuser2011 » Sat Nov 05, 2011 9:05 am

I'm looking for a working solution to edit/debug scripts with MM as well.

Could someone please give us the need first steps to start?
Is there any useful (and easy) software out there that we can use?
VBSEdit looks nice, but doesn't seems to work with MM.

Do you know any other working solution with a GUI, breakpoints and set variable values?
Magic Nodes v4.2 (2011-07-01) SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.3 (2011-07-06)

Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli » Tue Dec 25, 2012 10:26 am

Anything new about this?

I want to create some scripts but without debugging the code it is really difficult ...

pauli

Peke
Posts: 11198
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Script debugger recommendation

Post by Peke » Tue Dec 25, 2012 9:21 pm

Well, I frankly use PrimalScript for years, which have its own Debugger in it.

Only thing I add in Scripts while debugging is

Code: Select all

Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
Best regards,
Pavle
MediaMonkey lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add Images to forum

Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli » Wed Dec 26, 2012 4:47 am

Hi and Thanks for your hint. Only PrimalScript is very expensive to write some small tools ...

Regards, Pauli

Peke
Posts: 11198
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Script debugger recommendation

Post by Peke » Wed Dec 26, 2012 7:49 pm

I know, I got main license few years ago to do some Freelance job, it was one of the best things they gave me.

If you are into scripting, WEB, programming it is great tool for all.
Best regards,
Pavle
MediaMonkey lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add Images to forum

Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli » Fri Dec 28, 2012 12:06 am

OK + Tank you!

Post Reply