stoyan-shopov / turbo

A minimalistic frontend to the gdb debugger
MIT License
4 stars 0 forks source link

Improve updating the source code view #8

Open stoyan-shopov opened 3 years ago

stoyan-shopov commented 3 years ago

The source code view updating, at this time, first generates an html document for the source code, and after that marks the source code lines which are believed to be candidates for the placement of breakpoints.

THIS IS VERY SLOW

A better approach would be to have the breakpoint markers set when the html document is being generated. Also, it would be best to not regenerate the source code view, if the previous source code file displayed is the same as the newly requested one, UNLESS the source code file has been externally modified.