Hello all, I am often debugging scripts that work with multiple frames. If I want to execute a command from console in the context of a particular window I have to jump through lots of hoops.
Here are some ideas that would have made my debugging much easier - have a button that would switch console's context to the window of currently highlighted element (analogous to 'inspect' button for html) so that expression is evaluated with(selected window). It could work as on-time switch or could follow the selection - have currently selected HTML element (inspect button) to be stored in some variable available from console (e.g. firebug.selected, or $_ etc ... ) (maybe remember N last selected elements - firebug.selected === firebug.selected0, firebug.selected1,firebug.selected2) - in debug mode (on a breakpoint) be able to execute a command in the context of the current function that is stopped. not sure if with() will work in that context, but maybe at least modify variables easily from console... So I wonder if these features are hard to implement, can they be implemented as plugins or do they have to be in the firebug core? Any hints on how to get started would be appreciated! Thanks, Boris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
