Hi all,

This is more a theoretical question: What do you think, is it possible
to implement "break on expression", e.g.

1: if(a == 0) { func();}

So that, for example, i can choose the function call expression, and
then the debugger breaks not when it reaches the if statement (as it
normally would), but when it reaches the function call.
This is just a simple example, but i think this could help, when for
example you have to inspect mimified code (or any other complex line).

I'm asking this because i'm thinking of developing something like this
- the first idea is to have a searchable source code representation
(something like a simplified abstract syntax tree, so that i can
differentiate between code constructs - i already have this) and to
track the program counter (PC). I'm not sure about this PC part: can i
rely on PC tracking for identifying which expression in a line is
currently being executed?

Thanks for your time,

Josip

-- 
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