Adobe-Illustrator – How to debug a script that seriously rely on the existing Illustrator document?

I am using Adobe Illustrator CS5 and ExtendScript Toolkit CS5.

I have a very complicated script and alert() no longer works because things are in In a loop. How can I simulate the fact that I use a specific Illustrator document so that I can use the debugging features of the ExtendScript Toolkit?

I want it to be the same as in the Illustrator document and using “File-> Scripts-> Scriptname”. If I just test the script in ExtendScript, I will get an error

< /p>

if (app.documents.length> 0) {

Thank you!

solved!

I have to change the target application to Illustrator in ExtendScript Toolkit and set the debug level to $.level=2 to make it work. I can now have breakpoints and all good things .

I am using Adobe Illustrator CS5 and ExtendScript Toolkit CS5.

I have a very complicated script and alert() is no longer Works because things are in a loop. How can I simulate the fact that I use a specific Illustrator document so that I can use the debugging features of the ExtendScript Toolkit?

I want it to be the same as in the Illustrator document and using “File-> Scripts-> Scriptname”. If I just test the script in ExtendScript, I will get an error

< /p>

if (app.documents.length> 0) {

Thank you!

Solved!

I have to change the target application to Illustrator in ExtendScript Toolkit and set the debug level to $.level=2 to make it work. I can now have breakpoints and all good things .

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 353 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.