local-lua-debugger-vscode icon indicating copy to clipboard operation
local-lua-debugger-vscode copied to clipboard

love2d cant step in with debugger to love2d lua libary

Open meiry opened this issue 3 years ago • 1 comments

great extenton first of all , i try to step in to love2d build in lib's , with no success image

Here is my launch.json :

{
    // 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": "lua-local",
            "request": "launch",
            "name": "Debug Custom Executable",
            "program": {
              "command": "c:\\dev\\my\\cpp\\megasource\\build\\love\\Debug\\love.exe"
            },
            "args": [
              "c:\\dev\\my\\cpp\\love2d\\LOVE-Example-Browser-master",
              "vsc_debug"
            ],
            "scriptRoots": ["c:\\dev\\my\\cpp\\megasource\\libs\\love\\src"],
            "scriptFiles": [
                "c:\\dev\\my\\cpp\\megasource\\libs\\love\\src\\**\\*.lua",
                "**/*.lua"
            ]
        }
    ]
}

what im missing here ?

meiry avatar Aug 13 '22 10:08 meiry

This is a function implemented in c++, so if you want to step into that, you'd need a native debugger.

learn-more avatar Jun 20 '24 09:06 learn-more