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 100 forks source link

Show a limited number of entries #235

Closed Drieger closed 6 years ago

Drieger commented 6 years ago

Added a new option to findjsinstances that allow user to limit the number of entries shown. Command would be as follow

v8 findjsinstances -n <num> <search>

First num entries will be displayed, to see the following num instances user would just repeat the same num and search, or just press [ENTER] as it repeats the last command. Once we reached the last "page" it begins to show from the first entry again.

I created a simple example to show usage: https://asciinema.org/a/X04QMdeyWlDY1DBWeCDBNVUry

mmarchini commented 6 years ago

Landed in 2fc1571. Thank you!