Skip to main content
Known Participant
March 5, 2006
Question

ESTK crashing when debugging

  • March 5, 2006
  • 24 replies
  • 1936 views
Here is a sample script that creates a menu item in the context thumbnail menu in Bridge. You save this script as a jsx file and place it in your StartUpScripts folder.

When this script runs, the debugger halts at the debugger statement, the line is highlighted in yellow and the cursor is frozen at the start of the line (it does not blink). About 3 seconds later the ESTK crashes.

Could someone else please try this on their computer to see if you can duplicate this behavior. Any suggestions would be most appreciated.

Thanks.

Here is the script:

#target bridge

$.level = 0;

if ( BridgeTalk.appName == "bridge" ) { // only load into bridge

> // create menu

> var cmdMenuShell = new MenuElement('command', 'Menu shell ...', 'before Thumbnail/Cut-');

> // execute menu

> cmdMenuShell.onSelect = function() {

>> $.level=1; debugger;

>> alert("Hello Menu shell");

> }

}
This topic has been closed for replies.

24 replies

Participating Frequently
March 6, 2006
I don't think you should have to uninstall or reinstall. Are you using Bridge 1.0.3?

The code you pasted in your original message above might have been changed by the forum messaging, since I'm not getting the same result as you. Maybe you can upload a zipped copy of your JSX file somewhere that I can download.

tom
-----
hillrgAuthor
Known Participant
March 6, 2006
Thanks for the feedback Tom.

I am on windows XP. I have tried a re-installation of the ESTK. Perhaps I need to re-install the entire CS2 program.
Participating Frequently
March 5, 2006
No crash for me with ESTK 1.0.3 and Bridge 1.0.3 and your script.

Are you on Mac or Windows?
hillrgAuthor
Known Participant
March 5, 2006
I just tried this on another computer, which is running ESTK 1.0.2 and it is okay, so this appears to be a bug in v 1.0.3.

Is there a way to go back to the ESTK 1.0.2?