04-21-2008, 03:14 PM | #1 |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Tools for debugging javascript ...?
Hi!
Maybe someone here can tell me if he knows a program/plugin for simple debugging of javascript code? I am not looking for a complete framework or a development environment but something that alerts me when I forgot a bracket or use "illegal" characters. I am tinkering with some smaller projects (DictioLauncher, improved Sudoku & other games) but am no prof. programmer. I mainly use BBedit which at least highlights some expressions... I work/play on an older iBook but have a windows emulator on board. Thanx for any suggestions!!! |
04-30-2008, 05:45 PM | #2 |
Fully Converged
Posts: 18,170
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
If you can run Javascript live on your PC, I recommend the Firebug extension for Firefox. Works very well for debugging and profiling Javascript. Plus it's free. More here:
http://www.getfirebug.com/js.html |
Advert | |
|
04-30-2008, 05:50 PM | #3 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
But, for what you are wanting firebug www.getfirebug.com might be the better choice. BOb |
|
05-02-2008, 02:51 PM | #4 |
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Hi!
thanx Alexander and Pilotbob for your suggestions! I'll see into firebug as soon as I found out if that's available for MacOS 9x... For now I found a "Javascript verifier" called "JSLint" by douglas crockford; that's (just so) enough for my humble needs though not very comfortable. I found that at http://www.jslint.com/lint.html. Now I hope there's available a firefox for older macs. (I CAN run OS 10.4 but rather will notwith my old maschine...) |
05-02-2008, 03:23 PM | #5 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
Advert | |
|
05-02-2008, 07:50 PM | #6 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
All those are useless, since Javascript used in Reader is not the one used in browsers. You would need a debugger made especially for Reader, and I doubt Sony is going to make one available.
Gotta stick to the old techniques - debug prints everywhere |
05-03-2008, 02:51 PM | #7 | ||
eWriter
Posts: 267
Karma: 175607
Join Date: May 2007
Location: Frankfurt, FRG
Device: PB-IQ / Sony PRS-500
|
Quote:
Quote:
JSLint only will find obvious faults like forgotten (or accidentily removed) brackets. But these can be VERY much trouble in my experience. |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub et javascript | zelda_pinwheel | Software | 9 | 12-09-2010 04:56 PM |
Load of html debugging | pedz | Calibre | 18 | 03-30-2010 09:19 PM |
I need Javascript help | Nate the great | Workshop | 4 | 04-04-2009 12:55 AM |
iLiad Debugging and the iLiad | scotty1024 | iRex Developer's Corner | 2 | 10-23-2006 03:43 PM |
iLiad Javascript? | jsc | iRex Developer's Corner | 1 | 09-10-2006 07:17 AM |