make/vscode/template-launch.jsonc
author stooke
Sun, 15 Sep 2019 07:47:13 +0200
changeset 58139 593005ac5a0a
parent 55166 2ae056696b15
permissions -rw-r--r--
8216354: Syntax error in toolchain_windows.m4 Reviewed-by: erikj, dholmes, clanger

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "gtestLauncher",
            "type": "{{DEBUGENGINENAME}}",
            "request": "launch",
            "program": "{{OUTPUTDIR}}/hotspot/variant-server/libjvm/gtest/gtestLauncher",
            "args": ["-jdk:{{OUTPUTDIR}}/jdk"],
            "stopAtEntry": false,
            "cwd": "{{WORKSPACE_ROOT}}",
            "environment": [],
            "externalConsole": false,
            "preLaunchTask": "Make 'exploded-image'",
            "osx": {
                "MIMode": "lldb",
                "internalConsoleOptions": "openOnSessionStart",
                "args": ["--gtest_color=no", "-jdk:{{OUTPUTDIR}}/jdk"]
            },
            "linux": {
                "MIMode": "gdb",
                "setupCommands": [
                    {
                        "text": "handle SIGSEGV noprint nostop",
                        "description": "Disable stopping on signals handled by the JVM"
                    }
                ]
            }
        },
        {
            "name": "java",
            "type": "{{DEBUGENGINENAME}}",
            "request": "launch",
            "program": "{{OUTPUTDIR}}/jdk/bin/java",
            "stopAtEntry": false,
            "cwd": "{{WORKSPACE_ROOT}}",
            "environment": [],
            "externalConsole": false,
            "preLaunchTask": "Make 'exploded-image'",
            "osx": {
                "MIMode": "lldb",
                "internalConsoleOptions": "openOnSessionStart",
            },
            "linux": {
                "MIMode": "gdb",
                "setupCommands": [
                    {
                        "text": "handle SIGSEGV noprint nostop",
                        "description": "Disable stopping on signals handled by the JVM"
                    }
                ]
            }
        }
    ]
}