Releases: maziac/DeZog
Simulator History
The internal simulator now also supports reverse debugging.
Please test.
And please also test the debugging/reverse debugging with zesarux as there has been a lot of re-factoring.
Note:
For those who experience a crash on zesarux on windows at the start of a debug session:
Please try to change the verbosity level from the UI and let me know if it mitigates the problem.
Simulator coverage
Code coverage decorations now available with internal simulator.
Clear all decorations
Changes since 0.12.3:
- New command: "clearAllDecorations".
- Command removed "clearCodeCoverage".
- remoteType "zxsim" renamed to "zsim".
- Simulator:
- CPU load for simulator added.
- Visual memory added.
- loadObj supported.
- state save/restore added
- ZEsarUX: using zsf for save state/restore.
IM
I added the IM register to the Variables/Registers display and I corrected that the IM register was not set if the SNA file was loaded for the internal simulator.
There is also a configuration change necessary:
- launch.json changes:
- "zhostname" and "zport" removed. Use "hostname" and "port" under "zrcp" instead.
E.g.:
"remoteType": "zrcp",
"zrcp": {
"hostname": "localhost",
"port": 10000
},
Windows
I had to remove package 'SerialPort' as it prevented the start of DeZog under Windows.
So, now also the Windows version should work.
I attached 2 versions here:
Mac/Windows users please use dezog-0.12.2.vsix
Windows users who experience an immediate crash of ZEsarUX ("kernel panic") please try the
dezog-0.12.2_zrcp_delay_100ms.vsix
version.
This version communicates slower with ZEsarUX which seem to work more reliably under Windows.
Drrawback is that also the usage of DeZog becomes slower.
remoteType
It's time for another pre-release.
I'm currently working to add a remote serial connection to real ZX Next.
This would allow remote debugging with a real device. Therefore I had to introduce a new key to the launch.json:
remoteType.
For now you have to set "remoteType": "zrcp" to connect to ZEsarUX.
At the moment no other type will work but the idea is use this key to distinguish between ZEsarUX ZRCP protocol and a USB/serial connection.
Other changes:
- Fixed bug "Debugging with source files is impossible when there are ORGs with non-increasing addresses"
- Added a Z80 simulator to fake the serial connection (not usable yet).
DeZog
The z80-debug adapter has been renamed to "DeZog".
All references have been changed. Instead of "z80-debug" now "dezog" is used to refer to internal functions.
Because of this other extensions that use the old z80-debug will not work anymore.
This is especially true for the "z80-unit-tests" extension.
But, of course, z80-unit-tests has been updated as well.
Here are the installation instructions:
- Deinstall z80-unit-tests
- Deinstall z80-debug, reload
- Install DeZog (v0.11.0) from the vsix file below, reload
- Install z80-unit-tests from here: https://github.com/maziac/z80-unit-tests/releases/tag/v1.0.0
- In your assembler projects launch.json files change:
"type": "z80-debug"
into
"type": "dezog"
Beta Test D: RevDbg: History Spot
This release introduces the history spot. Please re-read the chapter about reverse debugging in the documentation (Usage.md).
Notes:
- spotCount added. A list of instructions is highlighted that were executed just before and just after the current one.
- Fixed extended and real stack.
- Fix for coverage display after unit tests stopped.
- Fix for forward step during reverse debug (isCallOpcode corrected).
- Suppressed "Already enabled" errors.
- Prepared breakpoint decorations.
To install this release in vscode:
Download the vsix file below.
Go to the command palette in vscode (i.e. press F1).
Enter "Extensions: Install from VSIX..."
Bety Test C: RevDbg: Conditional Breakpoints
- Reverse debugging: Conditional breakpoints.
- Fixed moving of PC to cursor during reverse debugging.
- Changed reverse debug decoration to blue background due to performance reasons.
To install this release in vscode:
Download the vsix file below.
Go to the command palette in vscode (i.e. press F1).
Enter "Extensions: Install from VSIX..."
Beta Test B: Reverse Debugging
Note: This version is for windows, Mac and Linux.
This version includes the reverse debugging feature.
Please read the paragraph in the Usage.md documentation.
When testing the reverse debugging mode please have a look at
- the correctness of the CALLSTACK (you have to get used to the behavior which looks somewhat unfamiliar at the beginning. E.g. if you step back over a RET instruction this will effectively add an item to the stack.
- the correctness of the "Stack" in the VARIABLES section (here are the PUSHed values of a call frame stored).
- the correctness of the registers in the VARIABLES section.
- the register values while hovering.
- using breakpoints during step back.
- using breakpoints during step (forward) while in reverse debug mode.
- please test all (blue) vscode step buttons.
To install this release in vscode:
Download the vsix file below.
Go to the command palette in vscode (i.e. press F1).
Enter "Extensions: Install from VSIX..."