-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript API for llnode? #14
Comments
Hello! I totally enjoy the idea, it sounds lovely! Considering that there are quite a lot of people interested in this kind of thing: https://github.com/nodejs/post-mortem Do you think it may be worth opening an issue, and having some kind of discussion or even call? This JS API looks amazing! |
When it will be done? |
@langhuihui Unfortunately I have not had time to work on this much this year. I have 2 branches, both quite old now (there has been quite a lot of other development on llnode recently): There was also some discussion and other contributions in the post mortem workgroup: |
I am interested in picking this one up. Will try to rebase previous work to master first. |
Some progress: got it working on MacOS and Ubuntu with linked libraries detected using |
@joyeecheung will take a look on FreeBSD over the weekend |
A few more progress: put the module (inherits |
Another progress: redesigned the API a bit, it's documented in https://github.com/joyeecheung/llnode/blob/js-api/JSAPI.md, the instance iterators is still WIP but the other parts are done and tested in https://github.com/joyeecheung/llnode/blob/js-api/test/jsapi-test.js |
great job |
Co-authored-by: Richard Chamberlain <richard_chamberlain@uk.ibm.com> PR-URL: nodejs#206 Refs: nodejs#14 Reviewed-By: Matheus Marchini <matheus@sthima.com>
PR-URL: nodejs#206 Refs: nodejs#14 Reviewed-By: Matheus Marchini <matheus@sthima.com>
@indutny @hhellyer
Hi Fedor, we've been discussing the possibility of an NPM/Javascript API on top of llnode, so that diagnostic tools could be written that exploit the llnode+lldb libraries. An alternative to using the line-mode lldb debugger + plugin itself to read a core dump. For example, an interactive web viewer for core dumps that are stored on a node server. Also possibility of user add-ons written in Javascript.
Here's a very basic prototype, just to load a core dump and list the thread stacks:
indutny/llnode@master...rnchamberlain:llnode_api
Any thoughts? Would need to design the API, make the calls async etc etc
The text was updated successfully, but these errors were encountered: