Sublimegdb doesn't work on osx 10.8

I am trying to use sublimegdb with sublime text 3, on OSX 10.8

I check that I have gdb but cannot start gdb using the sublimegdb plugin.

I am testing with a simple C ++ program test.cpp, I am building a debug version with a test name in the same directory.

my project settings:

{
    "build-system":
    {
        "cmd":
        [
            "g++",
            "${file}",
            "-g",
            "-o",
            "${file_path}/${file_base_name}"
        ],
        "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
        "selector": "source.c, source.c++",
        "working_dir": "${file_path}"
    },
    "folders":
    [
        {
            "follow_symlinks": true,
            "path": "."
        }
    ],
    "settings":
    {
        "sublimegdb_commandline": "gdb -nx -readnow -fullname --interpreter=mi -args ./test",
        "sublimegdb_workingdir": "."
    }
}

      

+3


source to share





All Articles