最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to implement JavaScriptCore debugger? - Stack Overflow

programmeradmin2浏览0评论

JavaScriptCore contains debugger package which is written in c++. This is the link of debugger package.

Can we use this debugger for debugging java script from eclipse or xocde, Any reference or sample implementation will be helpful. Thanks

JavaScriptCore contains debugger package which is written in c++. This is the link of debugger package.

Can we use this debugger for debugging java script from eclipse or xocde, Any reference or sample implementation will be helpful. Thanks

Share Improve this question asked Dec 10, 2013 at 10:40 Sanjay JainSanjay Jain 3,5879 gold badges60 silver badges94 bronze badges 1
  • I think you already know about this debug tool but just for your consideration. Modern web browsers have in-built debug tool. Chrome V8 debugger, Firefox Firebug and so on. They are open-source project. So if you are interesting about developing a debugger for IDE, you can check the each of project code. – Edward Commented Apr 30, 2014 at 14:31
Add a ment  | 

1 Answer 1

Reset to default 7

The WebKit folks have recently moved the JavaScriptCore-specific portion of the WebKit Web Inspector (aka Safari's Web Inspector) into JavaScriptCore itself with the intent to allow remote debugging JSContext objects in iOS apps the same way you can debug UIWebView objects now. This feature is supposed to ship with iOS 8.

JavaScript debugging in the Web Inspector is actually built on top of JSC::Debugger so you can either adapt it or use it as a reference implementation. The code lives here, but it seems that it won't work as-is without iOS 8 or OS X 10.10. Still, it seems like a good starting place if you want to build your own debugger interface.

发布评论

评论列表(0)

  1. 暂无评论