Debug your MSX with VSCode

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

Van S0urceror

Master (187)

afbeelding van 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.

Van Thom

Paladin (685)

afbeelding van 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.

Van Metalion

Paragon (1446)

afbeelding van Metalion

17-07-2020, 11:56

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

Van Grauw

Ascended (10074)

afbeelding van 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?

Van S0urceror

Master (187)

afbeelding van 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.

Van Briqunullus

Champion (410)

afbeelding van 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!

Van ToriHino

Paladin (727)

afbeelding van ToriHino

17-07-2020, 13:23

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

Van Grauw

Ascended (10074)

afbeelding van Grauw

17-07-2020, 13:36

Very off-topic guys. Start your own thread.

Van DarkSchneider

Paladin (942)

afbeelding van 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

Van Briqunullus

Champion (410)

afbeelding van 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?

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