vscode-perl-debug
vscode-perl-debug copied to clipboard
getStackTrace cannot handle calls with multiple arguments
The regex in adapter.ts
function getStackTrace
cannot handle calls with multiple arguments:
// > @ = DB::DB called from file 'lib/Module2.pm' line 5
// > . = Module2::test2() called from file 'test.pl' line 12
const m = line.match(/^(\S+) = (\S+) called from file \'(\S+)\' line ([0-9]+)$/);
versus lines like
@ = Grammar::Graph::convert_rule(ref(ARRAY), ref(Grammar::Graph), undef) called from file '.../Grammar/Graph.pm' line 487