How to configure launch.json to debug examples of libvpx source using visual studio code?

82 views Asked by At

I need to build libvpx source using visual studio code. Then, run and debug vp8_multi_resolution_encoder.c.

To build the project tasks, I used tasks.json as follows:

{
"version": "0.1.0",
"command": "make",
"isShellCommand": true,
"tasks": [
    {
        "taskName": "Makefile",

        // Make this the default build command.
        "isBuildCommand": true,

        // Show the output window only if unrecognized errors occur.
        "showOutput": "always",

        // Pass 'all' as the build target
        "args": ["all"],

        // Use the standard less compilation problem matcher.
        "problemMatcher": {
            "owner": "c",
            "fileLocation": ["relative", "${workspaceRoot}"],
            "pattern": {
                "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
                "file": 1,
                "line": 2,
                "column": 3,
                "severity": 4,
                "message": 5
            }
        }
    }
]

}

What are the key configurations for launch.json to debug the vp8_multi_resolution_encoder?

0

There are 0 answers