Thanks!

I was able to reproduce the problem, new bug report here:
http://code.google.com/p/fbug/issues/detail?id=1575

As a workaround, try to create an expression when the breakpoint is
*not* active. Since this the tab-watch started to work for me even if
the execution context is halted on a breakpoint later.

Honza

On Mar 10, 3:24 pm, boy_named_Goo <[email protected]> wrote:
> Yes, below is a simple test page.  I can put a breakpoint in the
> showInfo function, but I can't type a value into the new watch
> expression.  It doesn't seem to matter which page I attempt to debug.
> It doesn't work in any of them -- even external js files, which I
> normally use.
>
> <html>
> <head>
> <title>anchorOffsets</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />
>
> <script language="JavaScript">
>
> function showInfo(pAnchorId)
> {
>   var navDiv = document.getElementById('edlNavBreadcrumbPane');
>   var navDivLeft = navDiv.offsetLeft;
>   var navDivTop = navDiv.offsetTop;
>   var navDivHeight = navDiv.offsetHeight;
>
>   var anchor = document.getElementById(pAnchorId);
>   var anchorLeft = anchor.offsetLeft;
>   var anchorTop = anchor.offsetTop;
>   var anchorTop = anchor.offsetTop;
>   var anchorHeight = anchor.offsetHeight;
>
>   alert('navDiv left: ' + navDivLeft + '  ' + pAnchorId + ' left: ' +
> anchorLeft + '\n\n' +
>         '  navDiv top: ' + navDivTop + '  ' + pAnchorId + ' top: ' +
> anchorTop + '\n\n' +
>         '  navDiv height: ' + navDivHeight + '  ' + pAnchorId + '
> height: ' + anchorHeight );
>
> }
>
> </script>
>
> </head>
>
> <body>
>
> <div id="outerDiv">
>
> Maybe there's some text here.
> <br/>
> And a little more text here.
>
> <div id="edlNavBreadcrumbPane">
>
> <div id="unnamed">
>
> <span>
> <a id="anchor1" href="javascript:showInfo('anchor1');">BMX High
> School</a>
> </span>
>
> <span> : </span>
>
> <span>
> <a id="anchor2" href="javascript:showInfo('anchor2');">A Group</a>
> </span>
>
> <span> : </span>
>
> <span>
> <a id="anchor3" href="javascript:showInfo('anchor3');">General
> Information</a>
> </span>
>
> </div>
>
> </div>
>
> </div>
>
> </body>
>
> </html>
--~--~---------~--~----~------------~-------~--~----~
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