View Single Post
Old 07-31-2006, 02:24 PM   #3
Prussia
Member
 
Join Date: Jul 2006
Location: Frankfurt, Germany
Posts: 45
Prussia is on a distinguished road
Default

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
__________________
"A hedge between keeps friendship green"
Prussia is offline   Reply With Quote