Looks like this message got missed.
I would not expect the debugger to jump to the closing bracket of the
if-block.
Though it is expected that the debugger jumps to the closing bracket of the
function when it returns. This needs to be fixed on the platform and is
covered in bug 1013219
<https://bugzilla.mozilla.org/show_bug.cgi?id=1013219>.
Sebastian
On Friday, January 9, 2015 at 12:37:20 AM UTC+1, Victor Castillo Escoto
wrote:
>
> No one? (haven't checked if continues to happen)
>
> vce
>
> On Wednesday, July 23, 2014 at 3:05:12 PM UTC-4, Victor Castillo Escoto
> wrote:
>>
>> I've been looking for an issue related with this behavior and haven't
>> been successful.
>>
>> function foo()
>> {
>> var someVar, someOtherVar, evenSomeOtherVar;
>>
>> if(true)
>> {
>> someVar='';
>> someOtherVar=''; //after this line I expect to jump to the next
>> closing braces
>> }//expected jump
>> else
>> {
>> evenSomeOtherVar='';
>> evenSomeOtherVar=''; //but instead debugger highlights this line
>> which happens to be the line immediately before the next closing brace
>> }
>> };//expected jump
>>
>> Event.observe(window, 'load', foo);
>>
>> Has anyone else realized this is happening?
>> Is this due to some limitation?
>>
>
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/6936e6b3-461b-44ba-b2cc-47ebb7012b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.