Skip to content

Commit

Permalink
README.md: Improve core dump loading instructions
Browse files Browse the repository at this point in the history
PR-URL: #86  
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
hhellyer authored Jun 20, 2017
1 parent dcb16b0 commit 3b04b78
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,25 @@ To install the plugin in the LLDB system plugin directory, use the
npm copy `node_modules/llnode/llnode.so` to
`/usr/lib/lldb/plugins`.

To use llnode with a core dump the core dump needs to be loaded into lldb
along with the exact executable that created the core dump. The executable
contains information that lldb and llnode need to make sense of the data in
the core dump.

To load the core dump when starting lldb use:
```
lldb /path/to/bin/node -c /path/to/core
```
or to load the core dump after starting lldb:
```
(lldb) target create /path/to/bin/node -c /path/to/core
```

It does not matter whether the `plugin load` command is issued before or after
loading a core dump.

### Commands

```
(lldb) v8 help
Node.js helpers
Expand Down

0 comments on commit 3b04b78

Please sign in to comment.