ExtendScript Toolkit will not stop on breakpoints
Posted: Sat Jan 07, 2012 6:59 am
If you come across an instance where the ExtendScript Toolkit will not stop on breakpoints, this might help.
Having the following in your include will keep ESTK from stopping at breakpoints :
Code: Select all$.level = 0;even if it is enabled in the calling script.
To fix this, the debugger should be enabled in the main script AND in any includes.
Code: Select all$.level = 1;
An alternative solution would be to omit the debugging line from your include entirely and only enable it in the main script. Simply turning it off in the include will prevent ESTK from stopping on breakpoints.
Hope this helps.
Having the following in your include will keep ESTK from stopping at breakpoints :
Code: Select all$.level = 0;even if it is enabled in the calling script.
To fix this, the debugger should be enabled in the main script AND in any includes.
Code: Select all$.level = 1;
An alternative solution would be to omit the debugging line from your include entirely and only enable it in the main script. Simply turning it off in the include will prevent ESTK from stopping on breakpoints.
Hope this helps.