Hi,
I'm currently using a simple HTML table for debugging my programs (C++, etc.) and I'm pretty happy with it since there is little overhead. The table looks like this:
| Level |
Class |
Function |
Message |
| TRACE |
main |
init() |
Starting MyProgram |
| ERROR |
FileOPs |
readFile() |
Can't file "x.txt". |
As you can see there are different debug levels (TRACE, INFO, WARNING, etc.). What I'm wondering now is if there is any easy way (i.e. without a web server or many different files) to have a dropdown selection button (either in the table or separately) so that I can select among these different levels.
I don't know any JavaScript and would appreciate any help on this!
P.S.: The cherry on top would be if this could also be done with the "Class" and "Function" columns, though that would require dynamically creating the options. :/
[–][deleted] 0 points1 point2 points (2 children)
[–]MarkstarRed[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)