The breakpoint remains set on the line number it was previously set.
However, if we change the code between reloads, the breakpoint is not
anymore on the same line of code.
before reload:
1 function test()
2 {
3(*) alert("hello");
4 }
code changed... after reload:
1 function test()
2 {
3 (*) alert("new line");
4 alert("hello");
5 }
Some debuggers such as Visual Studio are able to set the breakpoint by
line of code, instead of by line number. Of course this is easier for
them as the debugger UI is also the editor. I don't see how this could
be done in Firebug, but this would be great :-)
NH
On 2010-02-03 13:21, John J Barton wrote:
I can not undestand what you wrote. When you reload Firebug resets the
beakpoints.
jjb
On Feb 3, 10:05 am, lcplben<[email protected]> wrote:
Hi everybody --
ObThanks: I'd be living in my car if it were not for Firebug. Thanks
for this great tool!
Just asking: has any developer given any thought to relocating
breakpoints after a reload? It would be handy if breakpoints remained
set on the line of code, rather than the line as numbered, when the
file is reloaded.
As I say: just asking.
-- ben
--
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.