Photoshop CS – how to start Javascript Debugger ?

H
Posted By
hannes
Jul 26, 2006
Views
432
Replies
3
Status
Closed
Hi folks,

I wonder how i can open the javascript debugger, which is included in ‘Photoshop CS’. Does anybody know ?

Thx,

Hannes F.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

MR
Mike Russell
Jul 26, 2006
"Hannes F." wrote in message
Hi folks,

I wonder how i can open the javascript debugger, which is included in ‘Photoshop CS’. Does anybody know ?

Look for the scripting and javascript pdf files installed with Photoshop on your system.

Here’s one web page, of many, that discusses it:
http://www.lodgephoto.com/articles/pshop_scripting.htm


Mike Russell
www.curvemeister.com/forum/
H
hannes
Jul 27, 2006
Hi,

thankx.
I already managed it out .
For all who are interested:
* To make the debugger appear at the start of the javascript program, put a ‘$.level=2;’ line at the start of the javascript file. * Or at a line, where you want the debugger to appear, put a ‘debugger;’ command into the line.
* Although there is a ‘//@include’ command, i would put all source code into one file,
as the debugger currently has problems with tracing to a function in another file (there is a ‘//@show include;’ command, but it makes some troubles at my program..)
* Write a generic ‘Object.toString()’ method to inspect objects at the command line.
* Don’t put a ‘debugger;’ command into window-callback functions. * Watch out for the ‘ScriptListener’ – very useful tool. * There is a tool for generating windows resource strings – see http://www.jkozniewski.com/tools/csuib.html

Mike Russell wrote:
"Hannes F." wrote in message
Hi folks,

I wonder how i can open the javascript debugger, which is included in ‘Photoshop CS’. Does anybody know ?

Look for the scripting and javascript pdf files installed with Photoshop on your system.

Here’s one web page, of many, that discusses it:
http://www.lodgephoto.com/articles/pshop_scripting.htm


Mike Russell
www.curvemeister.com/forum/
LS
Larry Scripts
Jul 27, 2006
If you hold down the alt/option button when choosing a script to run, the script debugger comes up.

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections