[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] Qtish API for JavaScriptCore
From:       Maciej Stachowiak <mjs () apple ! com>
Date:       2009-09-02 10:05:56
Message-ID: 67B466B9-A013-420F-800D-8816959B8E01 () apple ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sep 1, 2009, at 10:40 AM, Oliver Hunt wrote:

>
>> The debugger is not API, and should not be depended upon.  If you are
>>> interacting with the debugger you are not using the JSC API, and so
>>> you will not be able to rely on JSC not changing and breaking your  
>>> API.
>>>
>>
>> That's perfectly understandable, and it's something we (as in "not  
>> you")
>> have to live with for the time being.
>
> And when you want to continue to support your API in future and we  
> rip out the current model entirely? then what?  JSC does not have an  
> API to allow debugging, you should just live with this for the time  
> being rather than trying to expose a fairly broken model using non- 
> API functions.

It's kind of a deficiency that we don't expose a public API for  
debugging. This is something we should work on IMO. It's hard to blame  
people for relying on the internals when we don't offer a correct way  
to do it.

Regards,
Maciej


[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><br><div><div>On Sep 1, 2009, at 10:40 AM, \
Oliver Hunt wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div><div><br></div><blockquote \
type="cite"><div><font class="Apple-style-span" color="#000000">The debugger is not \
API, and should not be depended upon. &nbsp;If you are &nbsp;<br></font><blockquote \
type="cite">interacting with the debugger you are not using the JSC API, and so \
&nbsp;<br></blockquote><blockquote type="cite">you will not be able to rely on JSC \
not changing and breaking your API.<br></blockquote><blockquote \
type="cite"><br></blockquote><br>That's perfectly understandable, and it's something \
we (as in "not you")<br>have to live with for the time \
being.<br></div></blockquote><div><br></div><div>And when you want to continue to \
support your API in future and we rip out the current model entirely? then what? \
&nbsp;JSC does not have an API to allow debugging, you should just live with this for \
the time being rather than trying to expose a fairly broken model using non-API \
functions.</div></div></div></blockquote></div><br><div>It's kind of a deficiency \
that we don't expose a public API for debugging. This is something we should work on \
IMO. It's hard to blame people for relying on the internals when we don't offer a \
correct way to do it.</div><div><br></div><div>Regards,</div><div>Maciej</div><div><br></div></body></html>




_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic