internal: support optional filter expression for debug.stacks (#23605)

* internal: support optional filter expression for debug.stacks

* internal/debug: fix string regexp

* internal/debug: support searching for line numbers too
This commit is contained in:
Péter Szilágyi
2021-09-20 16:29:07 +03:00
committed by GitHub
parent 62e3b83af6
commit e28f713ada
4 changed files with 47 additions and 3 deletions

View File

@ -278,7 +278,8 @@ web3._extend({
new web3._extend.Method({
name: 'stacks',
call: 'debug_stacks',
params: 0,
params: 1,
inputFormatter: [null],
outputFormatter: console.log
}),
new web3._extend.Method({