Script debugger recommendation

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

Moderators: Gurus, Addon Administrators

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

Script debugger recommendation

Post by chrisjj »

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: Hull, UK
Contact:

Re: Script debugger recommendation

Post by trixmoto »

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.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: Script debugger recommendation

Post by chrisjj »

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: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: Script debugger recommendation

Post by MMuser2011 »

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.3.3 (2018-10-03) last free version 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.4.9 (2018-10-03) last free version
Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli »

Anything new about this?

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

pauli
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Script debugger recommendation

Post by Peke »

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,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli »

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

Regards, Pauli
Peke
Posts: 17457
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Script debugger recommendation

Post by Peke »

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,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Pauli
Posts: 42
Joined: Wed Feb 01, 2006 10:36 am

Re: Script debugger recommendation

Post by Pauli »

OK + Tank you!
Post Reply