Re: The wiki page on "Watch Side Panel" is useless

47 views
Skip to first unread message

Jan Honza Odvarko

unread,
Aug 13, 2012, 7:49:54 AM8/13/12
to Firebug
On Aug 12, 3:20 am, me <andersdh...@gmail.com> wrote:
> http://getfirebug.com/wiki/index.php/Watch_Side_Panel
>
> In an older version of firebug I was able to watch the values of all
> visible variables when I was stopped at a breakpoint.
> But now I no longer know how to.
>
> The reasons this wiki page is useless are first it tells me to select by
> selecting (turn out they mean highlight and ctrl-click), and second it
> tells me that I could also enter the name of a locally visible variable.
I have slightly updated the page, but you are welcome to provide
better
description/wording (I am not native English speaker).

> Neither of these methods work; the 'watch' panel remains unmarred by useful
> information no matter what I do (stack and breakpoint panels work fine
> though).
This sounds like a bug to me, but I can't reproduce it. The Watch
panel seems
to be working for me.

Here is what I am doing:

1) Open Firebug, enable the Script panel
2) Load https://getfirebug.com/tests/head/net/601/issue601.html
3) Create breakpoint at line 45
4) Click the button on the page, you should break at a breakpoint.
5) Highlight 'postData' variable, right click and pick 'Add Watch'
6) I am seeing a new entry in the Watch panel.

I guess you are not halted in the debugger when trying the feature...?

Honza

Sebastian Zartner

unread,
Aug 13, 2012, 7:57:09 AM8/13/12
to fir...@googlegroups.com
On Aug 12, 3:20 am, me <andersdh...@gmail.com> wrote:
> http://getfirebug.com/wiki/index.php/Watch_Side_Panel
>
> In an older version of firebug I was able to watch the values of all
> visible variables when I was stopped at a breakpoint.
> But now I no longer know how to.
>
> The reasons this wiki page is useless are first it tells me to select by
> selecting (turn out they mean highlight and ctrl-click), and second it
> tells me that I could also enter the name of a locally visible variable.
I have slightly updated the page, but you are welcome to provide better description/wording (I am not native English speaker).
@Honza: You were a little faster than me. I saw "highlight" and changed it to "select".
@me: I don't know what you mean with Ctrl+Click in this context.

The description clearly says "select it inside the Script Panel". And because the Script panel shows JavaScript code, it should be clear that text selection is meant.
 
> Neither of these methods work; the 'watch' panel remains unmarred by useful
> information no matter what I do (stack and breakpoint panels work fine
> though).
This sounds like a bug to me, but I can't reproduce it. The Watch
panel seems to be working for me.
I also can't reproduce this.

@me: Please give a step by step description what you do.

Sebastian

Sebastian Zartner

unread,
Aug 21, 2012, 5:20:42 PM8/21/12
to fir...@googlegroups.com, Simon Lindholm
Do you mean when you want to watch "i" and type "i" and it auto-completed to "isNan" or type "d" and get "document"?
That has nothing to do with the initial discussion.
 
It refuses to allow you to type "i" or "d". That is VERY ANNOYING and unacceptable. It's a bug that needs to be fixed. "i" might not exist, but it will.

I always type in a crap ton of locals that don't exist yet. It's how I begin my debugging session.

This needs to be fixed now. Remove auto-complete.
It works as expected. Just press Escape when you don't want to accept the auto-completion suggestion.

Sebastian
Reply all
Reply to author
Forward
0 new messages