jaredp / OS161-Web-GDB

For debugging OS161 with a nice GUI in a browser
0 stars 0 forks source link

codeviewer should show the file from the selected frame #18

Closed jaredp closed 10 years ago

jaredp commented 10 years ago

These should also hopefully be cached. Even though they're local, it's still probably a good idea to not have to re-fetch them. This may prevent some latency.

This can be implemented externally to the codeviewer with a os161-gdb specific angular filter filepath -> contents, used like

<code-viewer class="source-inspector"
  code="selected_frame.file|filecontents"
  highlight="selected_frame.line">
</code-viewer>
jaredp commented 10 years ago

it was hardcoded to a specific file