sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Line numbers broken if multiple game functions in stack trace

Open grymmy opened this issue 1 year ago • 5 comments

grymmy avatar Mar 02 '23 20:03 grymmy

@kognise Can you please add some commentary here that explains this issue?

grymmy avatar Mar 02 '23 20:03 grymmy

Stack traces with multiple entries in the game file are incorrectly parsed and thus the line number is miscalculated for all but the first item.

Test case:

function hi() {
  throw new Error('hi')
}

hi()

kognise avatar Mar 08 '23 20:03 kognise

@SamDev-7 Just pinging this are you still working on this? If not can you remove the assignment and move this back to the "todo" queue?

alhardwarehyde avatar Mar 21 '23 15:03 alhardwarehyde

I've been trying, but no progress so far. It would be good to move it back to todo.

samdev-7 avatar Mar 22 '23 12:03 samdev-7

gonna take a crack - looks like a big PITA

snoglobe avatar Apr 01 '24 00:04 snoglobe