maziac / DeZog

Visual Studio Code Debugger for Z80/ZX Spectrum.
MIT License
212 stars 35 forks source link

DZRP versions do not match #36

Closed Gorlock closed 3 years ago

Gorlock commented 3 years ago

Hi There,

I keep getting this error:

DZRP versions do not match. Required version is 1.6. But this remote (Unknown) supports only version 1.0. Try updating the DeZog (CSpect) Plugin (https://github.com/maziac/DeZogPlugin/releases).

Although the latest version available is 1.5.4.

Can you help me please?

Thank you! Regards, Gorlock

maziac commented 3 years ago

Seems that you are for some reason not using the DeZog Plugin 1.5.0. I just tested the DeZog version 1.5.4 with DeZog Plugin version 1.5.0 from GitHub and it is working for me.

If you start CSpect from command line you should see a line

Dezog Plugin: v1.5.0.23723 started.

Make sure that the DeZogPlugin.dll is in the same directory as the Cspect executable is.

Gorlock commented 3 years ago

Hi Maziac, first of all thank you for your reply. What I see on my terminal is this:

#CSpect Start
Next ROM enabled
DeZog plugin started.
DeZog plugin: Waiting for a connection on port 11000 (localhost)...

I am following this tutorial and adapting it to use on my Macbook: https://luckyredfish.com/coding-for-the-spectrum-next-emulator-cspect/

The link on the tutorial is for the version 1.5.0. I tried this one first, and as the message says "requires version 1.6", I went looking for it and found 1.5.4. With the same result.

Regards, Gorlock

Gorlock commented 3 years ago

I just tried version 1.5 again, and it is working now. Sorry, I might have done some changes on the launch.json in between versions, and in the end got stuck with 1.5.4 version without trying the new launch with 1.5.

image

Thank you so much! Regards, Gorlock

maziac commented 3 years ago

Fine that it is working now. However from the picture you submitted I can see that you are not doing source code debugging yet. I.e. no sources are found and so the disassembler kicks in as fallback (disarms.asm).

If you want to do source level debugging (i.e. stepping through the main.asm file) please let me know.