question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debugging with ZEsarUX does not work on DeZog 0.12.0

See original GitHub issue

Describe the bug Remote debugging does not work at all with ZEsarUX and DeZog 0.12.0. It works as expected on DeZog 0.11.0. As per instruction in 0.12.0 release I’ve added “remoteType”: “zrcp” to launch.json

To Reproduce Start ZEsarUX Launch debugging from VSC Nothing happens i.e. no error, no output in debug console

dezog

Version etc. (please complete the following information):

  • DeZog 0.12.0
  • ZEsarUX SW Version: 8.1 B2

Additional context Please attach your launch.json file.

"version": "0.2.0",
"configurations": [
	{
		"type": "dezog",
		"request": "launch",
		"name": "ZEsarUX",
		"zhostname": "localhost",
		"remoteType": "zrcp",
		"zport": 10000,
		"listFiles": [
			{
				"path": "zxnext.list",
				"useFiles": true,
				"asm": "sjasmplus",
				"mainFile": "zxnext.asm"
			}
		],
		"startAutomatically": false,
		"skipInterrupt": true,
		"commandsAfterLaunch": [
			//"-sprites",
			//"-patterns"
		],
		"disassemblerArgs": {
			"esxdosRst": true
		},
		"rootFolder": "${workspaceFolder}",
		"topOfStack": "stackTop",
		//"load": "../../EMULATORS/ZESARUX/zxnext.sna",
		"load": "../../EMULATORS/ZESARUX/zxnext.nex",
		"smallValuesMaximum": 513,
		"tmpDir": ".tmp",
		"preLaunchTask": "zesarux"
	}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
maziaccommented, Feb 29, 2020

Thanks to your full listing I could reproduce the problem and fix it here: https://github.com/maziac/DeZog/releases/tag/0.12.3

The problem was that the IM register was not taken from the SNA file but set to 2 always. The interrupt kicked in during LDIR and was going nowhere.

0reactions
kborowinskicommented, Mar 8, 2020

Yes, it’s working now. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DeZog/CHANGELOG.md at main - GitHub
Visual Studio Code Debugger for Z80/ZX Spectrum. ... Parsing errors/warnings (list/sld files) now reported in PROBLEM pane. Refactored:.
Read more >
ZX Dev -Enabling DeZog in VSCode Environment Z80 ...
ZX Dev -Enabling DeZog The Z80 Debugger (Internal Z80 Simulator, ZEsarUX and CSpect) -- Watch live ... Your browser can't play this video....
Read more >
ZEsarUX debugger for DAAD - Medium
ZEsarUX is a ZX Spectrum and Amstrad CPC emulator with many ... DAAD debugger will only work in 48k mode, what's not a...
Read more >
ZEsarUX 10.1 - Raspberry Pi Forums
-Fixed glitches resizing some windows: AY Registers, Debug CPU, etc... -Fixed flickering when resizing Keyboard Help window -Fixed reducing all ...
Read more >
Assembly Language - L Break Into Program, 0:1
This uses a Spectrum emulator (ZEsarUX) to run the code on an emulated ZX Spectrum, ... There is a Visual Studio Code extension...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found