stacktracejs / stacktrace.js

Generate, parse, and enhance JavaScript stack traces in all web browsers
https://www.stacktracejs.com/
MIT License
3.98k stars 282 forks source link

Highlight the line which cause error #191

Open unlight opened 7 years ago

unlight commented 7 years ago

I want to draw backtrace with highlight of errorred line, similar to this:

Possible solutions

  1. Expose sourceCache object (wich contains file => mapped source) and let user do the rest of the job.
  2. Implement renderers
lrvizentini commented 7 years ago

4

Em 21 de mai de 2017 15:09, "Roman Vasilev" notifications@github.com escreveu:

I want to draw backtrace with highlight of errorred line, similar to this:

https://raw.githubusercontent.com/inikulin/callsite-record/master/media/example1.png Possible solutions

  1. Expose sourceCache object (wich contains file => mapped source) and let user do the rest of the job.
  2. Implement renderers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stacktracejs/stacktrace.js/issues/191, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7ac3Of3QHCp6_cKbZ6W44hjkGUDWoXks5r8H26gaJpZM4NhrJf .

brillout commented 4 years ago

Is there a way to achieve that? That would be wonderful.