empathicqubit/vscode-cc65-debugger

Can't launch debugger

Closed this issue · 2 comments

Describe the bug
I have installed the plugin and use Kick Assembler however I do not have a mapFile so I used the .vs and even trying the .sym just to get it from not complaning.

Nonetheless when I attempt to debug my .prg.

cc65vice_make_failure_0.23391472897508003"'     
make: *** No targets specified and no makefile found.  Stop.

Using VSCode on Windows

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "cc65-vice",
            "request": "launch",
            "name": "CC65 Vice Launch",
            "program": "${workspaceFolder}/test.prg",
            "debugFile": "${workspaceFolder}/test.dbg",
            "mapFile": "${workspaceFolder}/test.sym",
            "build": {
                "cwd": "${workspaceFolder}",
                "command": "make",
                "skip": false,
                "args": [
                    "OPTIONS=mapfile,labelfile,debugfile,debugtables"
                ]
            },
            "stopOnEntry": true,
            "stopOnExit": true,
            "emulatorArgs": [
                "-model",
                "ntsc"
            ]
        }
    ]
}

Hello @mytechnotalent !

Is it possible for you to use ca65 with the assembly template I provided? I do not support Kick Assembler.

Here's a more complicated example of what you can do with ca65, if that helps. This is a raster interrupt function in a project with both C and Assembly: https://github.com/empathicqubit/waw-sprite-test/blob/master/src/main_raster_irq_asm.s