- changed milestone to public-release
Show real line numbers in the output
The line numbers currently shown in the cfviz output start with the first line of the function being line 0.
A common thing to want to do after running cfviz is to set a breakpoint on one of the lines in the output, which requires entering the real line number from the underlying file.
It would be great if, instead of having to switch back to your editor to get the real line number (or using the debugger's "list" command to print the code with real line numbers), the cfviz output contained the real line numbers already.
This can be achieved fairly easily:
- Modify the data format to add a new field which represents the real line number of the first line of the function
- The backend, which knows the real line numbers, populates that field
- The frontend adds that number to each displayed line number
Comments (5)
-
reporter -
reporter I amended the data format and modified the back end to provide the real line number in https://bitbucket.org/botond/cfviz/commits/1ce8942d4ef02e6bbd8fcd427b77eab8bb4daca2.
Derek, would you like to do the frontend part of this?
-
Sure, would be glad to.
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
final tidying after implementing absolute line numbers (fixes
#12)→ <<cset b3642599d431>>
- Log in to comment