new widget: table of breakpoints (BreakpointViewer)#91
new widget: table of breakpoints (BreakpointViewer)#91turbor merged 8 commits intoopenMSX:masterfrom
Conversation
54b07d4 to
e18ea5c
Compare
|
Made a little mistake rebasing previously included code, but the github build action alerted me of the mistake. Commit ba0fe8f made it possible. |
| const QString& field, int& begin, int& end) | ||
| { | ||
| if (type == BreakpointViewer::BREAKPOINT) { | ||
| if (int value; (value = stringToValue(field.simplified())) != -1) { |
There was a problem hiding this comment.
Sorry this is not resolved.
|
Hi, thanks again for your work. In my last review-pass I only found details. Or I gave remarks about already existing issues in the code (not related to your changes). So I'm close to approving the c++ part of this PR. However before we can merge it, I would like that someone else takes a look at it, but then from a debugger-user point of view (e.g. does the new feature work like it's supposed to, are there usability issues, ...). I personally never use the openMSX debugger, so I don't think I'm the best person to do this. @MBilderbeek: could you do this 2nd part? Or delegate to a more appropriate person? |
|
Perhaps @turbor is a much more appropriate person. Can you take a look? |
|
It's in draft mode now. I will release it when I finish these last issues. |
|
Waiting for PR #97 |
|
https://www.githubstatus.com/ Have you guys considered gitlab? |
|
This pull request is ready for review. While finishing it I found a new bug that I launched as PR #100. Please fix that first, as it is necessary to completely merge this one. Some new screenshots: |
|
Rebased on master after PR #100 was applied. |
* new hidden column manages breakpoints, watchpoints and conditions more easily This feature depends on pull request openMSX#100
|
I'm looking at it and playing around with it. I will probably merge this pull request tomorrow. |
|
Here is a quick brain dump from me after using the new breakpoints/debug list widget. These are some of the things I encountered while trying out this feature and how it would fit in my workflow. I have a lot of custom TCL scripts to do my bidding, so to me it is important that the widget doesn't assume to be the sole master of the breakpoints/watchpoints in the openMSX session. I like the option to enable/disable the breakpoints. Maybe this should be included in openMSX itself as an option. (wink wink nudge nudge) Also it would be nice to see the command of the breakpoint. For now it seems that the widget assumes that the default "debug break" command is always used. The debugger doesn't even seem to recognize breakpoints with an other command? Here is something that went wrong. Here is something annoying. Also when this happened, editing the Segment column of the first row in the watchpoint tab still worked, but it remained left aligned until I forced a resort by playing with the checkboxes Also in Qt you can have your table widget stretch the last column to the end of the view automatically. Maybe you wanted the text to be close to the other columns, in such case stretching and left-aligning could be an option. All in all, this is a great addition to openMSX-debugger. |
That is pretty much the case. Look at this piece of code inside which skips
In which table that happens? Since header reordering was disabled that shouldn't be possible. Maybe some attribute in the condition table was missing since condition support was added later.
This is probably because I use |



A table of breakpoints that is separated from DisasmView makes breakpoints easier to manage.
TODO:
fix update issuesfix widget style propertiesprimary fieldsecondary fieldjoin primary and secondary fieldssegment fieldwatchpoint table