Agree.
My suggestion/idea is add line numbering in the Response Tab in the Net 
Panel only. No need feature like on the Script Panel and no need 
referencing it with error messages from javascript.
Just line numbering.


FN

John J Barton wrote:
> I don't like the idea of referencing content in the Net panel with
> error messages from Javascript.  Eventually we would have to reproduce
> all of the function of the Script panel, eg breakpoints, stack
> pointers, watch variables. The source code buffer should be reflected
> in the list maintained by the Script panel so errors etc can be
> reported there.
> 
> jjb
> 
> 
> On Sep 10, 2:20 am, Fadjar Nurswanto <[EMAIL PROTECTED]> wrote:
>>  >> In my case, content in Script Tab is tag HTML not javascript.
>>  > I don't understand this.
>>
>> Yup. The Script Tab/Panel content is tag HTML (string).
>>
>> I load the javascript script dynamically with build new script element
>> (DOM). After the script loaded or object/variable already on the memory,
>>   delete the script element.
>>
>> Thank you if my suggestion exists on next version. It better than copy
>> form Net Panel/Response to KomodoEdit to trace the line number.
>>
>> Thank you,
>> Fadjar Nurswanto
>>
>> Jan Odvarko wrote:
>>>> In my case, content in Script Tab is tag HTML not javascript.
>>> I don't understand this.
>>> Anyway, I like the suggestion as one of the ideas for upcoming Firebug
>>> versions is to provider better presentation of net responses within
>>> the Net panel (and also provide an APIs so, this is possible to do
>>> through an extension).
>>> There is already couple of requirements:
>>> a) better JSON formatting (as a tree of objects)
>>> http://code.google.com/p/fbug/issues/detail?id=369
>>> b) display HTML response as HTML.
>>> I think that this request also belongs to this area. In case of JS
>>> response the view could be also improved (e.g. the line numbering).
>>> However, I am not sure if this request can't be also fixed within the
>>> Script panel itself.
>>> Honza
>>> On Sep 10, 10:23 am, Fadjar Nurswanto <[EMAIL PROTECTED]> wrote:
>>>> Apologize about my english.
>>>> When the browser doing GET or POST to the server we can see the
>>>> records/rows on Net Tab. And each record/row has detil info separate
>>>> with tab (Params, Headers and Response).
>>>> My script display on the Response Tab after clicking Load Response
>>>> button. But there is no line numbering.
>>>> Most javascript error warning on console tab showing/including line
>>>> number of script. When you click the link, you will redirect to the row
>>>> where the error happen on Script Tab or HTML Tab.
>>>> In my case, content in Script Tab is tag HTML not javascript. If i need
>>>> to see the script, go to Net Tab. Find the URL and go to Response Tab.
>>>> After load response the script will show up. But no line numbering.
>>>> If there is line numbering on it make me easy to tracing the error.
>>>> I wish clear.
>>>> Thank you,
>>>> Fadjar Nurswanto
>>>> John J Barton wrote:
>>>>> Please tell us more, I don't understand.
>>>>> Line number of what?
>>>>> In what way does your script show up in the Net tab?
>>>>> On Sep 9, 10:03 pm, Fadjar Nurswanto <[EMAIL PROTECTED]> wrote:
>>>>>> That's my suggestion.
>>>>>> My script not display in Script Tab and HTML Tab (DOM Element).
>>>>>> Only in Net tab. It will very usable when javascript error warning show
>>>>>> up with line number of the script.
>>>>>> Thank you,
>>>>>> Fadjar Nurswanto


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