Releases: maziac/DeZog
Zesarux Delay Testing
- Internal simulator
- Fix: Write-watchpoint was indicated as read-watchpoint.
- Fix: corrected "LD (IX/IY+d),n".
- Performance improvement
- ZEsarUX: automatic loading enabled again. But added launch.json parameters to wait before and after loading ("debug_wait_before" and "debug_wait_after" in ms).
- Visual update corrected after MovePcToCursor.
zesarux smartload test
This is a very specific test release to find the zesarux crash reason. It changes some functionality:
It does not load the snag-file on start of a debug session.
Please try the following:
- Start Zesarux
- Start a debug session
- Check if Zesarux crashed.
- If not: load your sna file manually. Use the full path. In tab "DEBUG CONSOLE" enter
-e smartload C:....\yourfile.sna
- Check if Zesarux crashed (Note: The display in DeZog does not change yet, because it is not aware that a new program has been loaded)
- Do a step-over in DeZog. Now the display should change and you should see your program.
- Do further debugging in DeZog (step-over, step-into, continue etc.) and see if Zesarux crashes.
Please let me know what happens on your side. I.e. at which step Zesarux crashes or if does not crash anymore.
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..."