This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I have no idea how to kill Safari like I would do on a PC: CTRL+ALT+DEL, select the task, and stop. Any help on how to abort Safari when it is hovering on an alert? Second, any suggestion as to a good JavaScript debugger for Safari? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
webkit On 6/23/06, Sam <sam.google-Uc2IQQBAS6sAvxtiuMwx3w@public.gmane.org> wrote:> > This is way OT, but here goes... > > I''ve had an iBook for 2 days now and am debugging a web built with > prototype/script aculo / windows / etc... I have no real experience on a > Mac. > > Occasionally, there''s no better way to debug JavaScript than an alert in a > loop... Once I have the information information I want from the alert, the > loop may want to execute another 300 times. I have no idea how to kill > Safari like I would do on a PC: CTRL+ALT+DEL, select the task, and stop. > Any help on how to abort Safari when it is hovering on an alert? > > Second, any suggestion as to a good JavaScript debugger for Safari? > > Sam > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Safari has a built-in debugger that is nearly useless, and on top of that, hidden by default. Google for safari javascript console and you should find instructions on how to enable it. It will tell you when it has errors, but provide little to no information about what they are. Someone else may have more info for you. Force Quit on Mac = Cmd+Option+Esc (Cmd is the apple logo key). Greg ________________________________ From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam Sent: Friday, June 23, 2006 8:34 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails-spinoffs] OT: Debugging iBook --- help This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I have no idea how to kill Safari like I would do on a PC: CTRL+ALT+DEL, select the task, and stop. Any help on how to abort Safari when it is hovering on an alert? Second, any suggestion as to a good JavaScript debugger for Safari? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Also I find the hack below quite nice for debugging every once in a while regardless of the browser: if( !confirm(debugging info) ) halt; "halt" throws a parse error only if you press cancel on the confirmation box. From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill Sent: Friday, June 23, 2006 8:40 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: RE: [Rails-spinoffs] OT: Debugging iBook --- help Safari has a built-in debugger that is nearly useless, and on top of that, hidden by default. Google for safari javascript console and you should find instructions on how to enable it. It will tell you when it has errors, but provide little to no information about what they are. Someone else may have more info for you. Force Quit on Mac = Cmd+Option+Esc (Cmd is the apple logo key). Greg _____ From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam Sent: Friday, June 23, 2006 8:34 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails-spinoffs] OT: Debugging iBook --- help This is way OT, but here goes... I''ve had an iBook for 2 days now and am debugging a web built with prototype/script aculo / windows / etc... I have no real experience on a Mac. Occasionally, there''s no better way to debug JavaScript than an alert in a loop... Once I have the information information I want from the alert, the loop may want to execute another 300 times. I have no idea how to kill Safari like I would do on a PC: CTRL+ALT+DEL, select the task, and stop. Any help on how to abort Safari when it is hovering on an alert? Second, any suggestion as to a good JavaScript debugger for Safari? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Webkit is a better safari debugging environment On Jun 23, 2006, at 9:59 AM, Ken Snyder wrote:> Also I find the hack below quite nice for debugging every once in a > while regardless of the browser: > > > > if( !confirm(debugging info) ) halt; > > > > “halt” throws a parse error only if you press cancel on the > confirmation box. > > > > > > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails- > spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill > Sent: Friday, June 23, 2006 8:40 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: RE: [Rails-spinoffs] OT: Debugging iBook --- help > > > > Safari has a built-in debugger that is nearly useless, and on top > of that, hidden by default. Google for safari javascript console > and you should find instructions on how to enable it. It will tell > you when it has errors, but provide little to no information about > what they are. Someone else may have more info for you. > > > > Force Quit on Mac = Cmd+Option+Esc (Cmd is the apple logo key). > > > > Greg > > > > > > > > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails- > spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Sam > Sent: Friday, June 23, 2006 8:34 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails-spinoffs] OT: Debugging iBook --- help > > > > This is way OT, but here goes... > > > > I''ve had an iBook for 2 days now and am debugging a web built with > prototype/script aculo / windows / etc... I have no real > experience on a Mac. > > > > Occasionally, there''s no better way to debug JavaScript than an > alert in a loop... Once I have the information information I want > from the alert, the loop may want to execute another 300 times. I > have no idea how to kill Safari like I would do on a PC: CTRL+ALT > +DEL, select the task, and stop. Any help on how to abort Safari > when it is hovering on an alert? > > > > Second, any suggestion as to a good JavaScript debugger for Safari? > > > > Sam > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
You should try the Firebug Firefox Extension [1]. I use it on Bon Echo (Firefox 2.0 alpha) which is much faster than the 1.5 version. 1: http://www.joehewitt.com/software/firebug/ Martin On 6/23/06, Deco Rior <decorior-w9xKMqPX1QdNhnlO7+U8Og@public.gmane.org> wrote:> > Webkit is a better safari debugging environment > > > On Jun 23, 2006, at 9:59 AM, Ken Snyder wrote: > > > > > Also I find the hack below quite nice for debugging every once in a while > regardless of the browser: > > > > if( !confirm(debugging info) ) halt; > > > > "halt" throws a parse error only if you press cancel on the confirmation > box. > > > > > > > > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On > Behalf Of Gregory Hill > Sent: Friday, June 23, 2006 8:40 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: RE: [Rails-spinoffs] OT: Debugging iBook --- help > > > > Safari has a built-in debugger that is nearly useless, and on top of that, > hidden by default. Google for safari javascript console and you should find > instructions on how to enable it. It will tell you when it has errors, but > provide little to no information about what they are. Someone else may have > more info for you. > > > > Force Quit on Mac = Cmd+Option+Esc (Cmd is the apple logo key). > > > > Greg > > > > > > > > > > ________________________________ > > > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On > Behalf Of Sam > Sent: Friday, June 23, 2006 8:34 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails-spinoffs] OT: Debugging iBook --- help > > > > > This is way OT, but here goes... > > > > > > I''ve had an iBook for 2 days now and am debugging a web built with > prototype/script aculo / windows / etc... I have no real experience on a > Mac. > > > > > > Occasionally, there''s no better way to debug JavaScript than an alert in a > loop... Once I have the information information I want from the alert, the > loop may want to execute another 300 times. I have no idea how to kill > Safari like I would do on a PC: CTRL+ALT+DEL, select the task, and stop. > Any help on how to abort Safari when it is hovering on an alert? > > > > > > Second, any suggestion as to a good JavaScript debugger for Safari? > > > > > > Sam > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >