There is already partial support for this within the DOM panel.

For example, if you have an object a = {prop1: 1, prop2: 2} you can
create a breakpoint for its properties.

1) Select the DOM panel
2) Expand the object |a|
3) Create a breakpoint for |prop1| by clicking on the breakpoint
column.
4) Change the value -> Firebug's debugger should break and switch to
the Script panel showing the source line that caused the break;

See more here:
http://getfirebug.com/doc/breakpoints/demo.html#dom


Honza



On Oct 4, 12:13 pm, aj3423 <[email protected]> wrote:
> in some debugger like ollydbg, user can set a break point to a memory
> address, when there is a read/write access to that memory address, the
> debugger will break.  I think it is very useful in javascript debugging.
> Sometime my variable value is changed and I couldn't found where it is
> modified. It'll be great if I can set a variable break point to variables
> like a.b.c,  then it breaks when the code does a.b.c = 123,
> Is it possible for the enhancement? Will firebug add the new 'variable break
> point' in the future version?
>
> 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.

Reply via email to