nodejs / llnode

An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.
Other
1.15k stars 99 forks source link

the line number of js in js frame is wrong #364

Open phantom9999 opened 4 years ago

phantom9999 commented 4 years ago

there is something wrong with the line number of js, when i use 'v8 bt' to find while line do coredump. for example, while run this file, node coredump:

1.  function aa() {
.
.
12.    // coredump
.
.
.
}

use 'v8 bt', it will show node coredump at the line of function(line 1) not the line of running(line 12)