JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.3k stars 54 forks source link

`--local-cwd` on unsaved files messes with inline errors #122

Closed JoshCheek closed 6 years ago

JoshCheek commented 6 years ago
screen shot 2017-11-08 at 10 00 02 am
JoshCheek commented 6 years ago

Okay, the reason is that the producer is receiving the full path to the filename, even though the program is being run with just the relative path. So when it filters the backtrace, it's using a superset of the filename, which causes it to not find the file in the backtrace, which causes it to use -1 as the backtrace line number.