Debug your MSX with VSCode

Page 2/7
1 | | 3 | 4 | 5 | 6 | 7

Par S0urceror

Master (209)

Portrait de S0urceror

16-07-2020, 23:42

Thom wrote:

Does it only work with Sjasmplus?

No, it supports sjasmplus, Savannah's z80asm, z88dk.

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Par Thom

Paladin (705)

Portrait de Thom

17-07-2020, 10:58

S0urceror wrote:
Thom wrote:

Does it only work with Sjasmplus?

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

Par Metalion

Paragon (1622)

Portrait de Metalion

17-07-2020, 11:56

How does VSCode compare to Notepad++ ?
It seems that a lot of people are moving to VSCode nowadays ...

Par Grauw

Ascended (10720)

Portrait de Grauw

17-07-2020, 12:36

Thom wrote:
S0urceror wrote:

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

Can you give an example of what kind of output you would expect from Glass?

Par S0urceror

Master (209)

Portrait de S0urceror

17-07-2020, 12:38

Metalion wrote:

How does VSCode compare to Notepad++ ?

Don't know because I don't use Notepad++. What I do know is that VSCode is built from the ground up by Microsoft based on open source technology (Elektron, node.js, typescript). It runs on any OS and has a healthy marketplace with contributors from over the world.

In this marketplace you'll find Z80 assembly syntax-colouring, sjasmplus integration and support for any programming language you can think of. And of course Dezog which I have made compatible with OpenMSX.

Par Briqunullus

Hero (647)

Portrait de Briqunullus

17-07-2020, 12:59

Notepad++ is more of a single file editor, VSCode is more organized for projects. Yeah, I know, Notepad++ can handle a hell lot more complexity than just a single file, and VSCode can be used for single file projects as well, but this would be the different starting point of these two. And, yeah, I do use both and I appreciate both.

Back on topic, this is a great project. I will definitely give it a go!

Par ToriHino

Paladin (828)

Portrait de ToriHino

17-07-2020, 13:23

What also works great in VSCode is the integration with GIT for versioning of the source files.

Par Grauw

Ascended (10720)

Portrait de Grauw

17-07-2020, 13:36

Very off-topic guys. Start your own thread.

Par DarkSchneider

Paladin (991)

Portrait de DarkSchneider

17-07-2020, 19:20

Grauw wrote:
Thom wrote:
S0urceror wrote:

For other assemblers that generate list files with line numbers, addresses, labels, it supports regular expressions to extract the necessary information to make the debugger run.

Which assembler would you like to use? Maybe we can adapt it to support this as well.

Glass, but I don't know if it generates list files.

Can you give an example of what kind of output you would expect from Glass?

REL files Tongue

Par Briqunullus

Hero (647)

Portrait de Briqunullus

17-07-2020, 19:32

I have some trouble getting it to work. I have my asm file open in vscode and I have created a launch.json file in a .vscode folder. If I choose the run icon (or press ctrl+shift+D) then in the column on the left I get a message "Open a file which can be debugged or run."

Also, if I just choose Run->Start Debugging (or press F5) then VSCode wants me to select an environment. There is no OpenMSX, Dezog, or any other z80 option available.

Which step did I miss?

Page 2/7
1 | | 3 | 4 | 5 | 6 | 7