What is wrong with ExtendScript Toolkit? Why photoshop freezes while debugging script with UI dialog?

  • 1
  • Problem
  • Updated 2 years ago
  • (Edited)
Photoshop script engine process has 100% of single CPU core time. Photoshop doesn't response and if I disconect link between Toolkit and Photoshop then I see error message that I can't conect to script engine. I always must kill Photoshop process and restart it. It is really time consuming.

I will post comment on every crash.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes

Posted 2 years ago

  • 1
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes - 30.08.2016 22:18:03
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes - 30.08.2016 22:21:53 - I am killing Photoshop process and start it again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes - 30.08.2016 22:27:56 - I am killing Photoshop process and start it again (it actually crashed itself after I closed document window)
(Edited)
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
(Edited)
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
I am unable to connect EST with Photohsop after Photoshop restart - 30.08.2016 22:44:45 - I am restarting EST and also EST GUI is weird: http://sklad.bereza.cz/00-jarda/00_screenshot/2016-08-30_224626.jpg The window is bad rendered.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes - 30.08.2016 22:53:25 - I am killing Photoshop process and start it again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes while tracing code inside "try block"
try{var dummy = doc.pathItems[vectorMaskIndex].subPathItems[0];}        
catch(e){
            deleteSelectedLayers ();
            continue;
        }
If Script is run without connections between Photoshop and EST then my script works without problem.
(Edited)
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
I clicked on the "stop debuging" button in EST and Photoshop crashed - 31.08.2016 22:51:44
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
31.08.2016 22:55:54 - and again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
31.08.2016 23:02:54 - and again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
31.08.2016 23:07:07 - and again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
31.08.2016 23:23:55 - and again
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
EST freezes - 01.09.2016 19:10:22 - I am unable to do anything in it.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop crashed after EST exit. - 01.09.2016 19:11:29
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop crashed on stop button in EST - 01.09.2016 21:44:11
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
And another Photoshop restart - 01.09.2016 21:52:57
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
And again - 01.09.2016 22:33:19
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
And again - 01.09.2016 23:09:24 - my script was in infinite loop - I had not another option than hit the stop button
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
And next two crashes: 02.09.2016 23:16:47
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop freezes - 03.09.2016 1:10:32
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Photoshop crash after I clicked on Play button in EST - 03.09.2016 14:39:43
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
Next Photoshop Crash after hitting stop debuging button - 03.09.2016 16:25:53
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 780 Posts
  • 166 Reply Likes
I spend a serveral minutes trying to figure out why photoshop doesn't provide javascript engine even if I  completly restarted several times both Photoshop and EST.