Yes, 1.4 has "break on next", arm it by pressing the 'pause button', then click your button.
jjb On May 1, 8:36 pm, NadAF <[email protected]> wrote: > Yes, thanks. It worked. > Anyway, I have another question: Suppose I have a button on a page, > this button executes some Javascript code that I have no idea where it > is. Is it possible to break at this code automatically after pressing > the button supposing no other javascript code is executing at the same > time?? > > On May 1, 8:33 pm, johnjbarton <[email protected]> wrote: > > > Do you mean: you cannot set breakpoints on Javascript lines enclosed > > in <script> tags? > > > Do you have the script panel enabled? Did you have reload the page > > since you did that? > > > If all of this is true, the line numbers in green are breakpointable. > > If they don't line up with your source code, you could be a victim > > ofhttps://bugzilla.mozilla.org/show_bug.cgi?id=488730 > > > Try replacing all tabs with spaces, remove all whitespace at the end > > of lines, see if that makes any difference. > > > jjb > > > On May 1, 4:42 pm, NadAF <[email protected]> wrote: > > > > Hi, > > > I cannot debug Javascript code embedded in the HEAD tag. Is that > > > possible? > > > > Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
