Add improvements to the Module Debugger #8
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix: dragging ignores scroll position
When the module debugger is scrolled to the right and an aggregated input is resized, the selected value jumps to the left because it does not account for the scroll offset.
Add support for recognizing X and Z values
Currently the module debugger assumes that all signals are 0 or 1. Verilog also works with X and Z which led to weird behavior in the debugger when outputs/wires where not driven and registers where not initialized.
For this the value types where changed from numbers to strings and a simple upgrade method was added to convert older
.dbgmodule
files.Add support for displaying registers and wires
The module debugger currently lackes the ability to debug wires and registers. This PR allows registers and wires to be marked as debug and they will be shown below the outputs.
Example: