Commit 5ab0ebad authored by David Auer's avatar David Auer
Browse files

VSCODE: Hold at all exceptions

parent b8847848
Loading
Loading
Loading
Loading
+44 −16
Original line number Diff line number Diff line
@@ -10,10 +10,14 @@
            "request": "launch",
            "program": "${workspaceFolder}/build/src/daemon/gkfs_daemon",
            "args": [
                "-r", "${config:gkfs_rootdir}", 
                "-m", "${config:gkfs_mountdir}", 
                "-H", "${config:gkfs_hostfile}",
                "-l", "${config:gkfs_interface}",
                "-r",
                "${config:gkfs_rootdir}",
                "-m",
                "${config:gkfs_mountdir}",
                "-H",
                "${config:gkfs_hostfile}",
                "-l",
                "${config:gkfs_interface}",
            ],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
@@ -30,6 +34,11 @@
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "Enable all-exceptions",
                    "text": "catch throw",
                    "ignoreFailures": true
                }
            ]
        },
@@ -39,10 +48,14 @@
            "request": "launch",
            "program": "${workspaceFolder}/build/src/daemon/gkfs_daemon",
            "args": [
                "-r", "${config:gkfs_rootdir}", 
                "-m", "${config:gkfs_mountdir}", 
                "-H", "${config:gkfs_hostfile}",
                "-l", "${config:gkfs_interface}",
                "-r",
                "${config:gkfs_rootdir}",
                "-m",
                "${config:gkfs_mountdir}",
                "-H",
                "${config:gkfs_hostfile}",
                "-l",
                "${config:gkfs_interface}",
                "--start-relocation",
            ],
            "stopAtEntry": false,
@@ -60,6 +73,11 @@
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "Enable all-exceptions",
                    "text": "catch throw",
                    "ignoreFailures": true
                }
            ]
        },
@@ -72,10 +90,22 @@
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [
                {"name": "LD_PRELOAD", "value": "${workspaceFolder}/build/src/client/libgkfs_intercept.so",},
                {"name": "LIBGKFS_LOG", "value": "info"}, //most
                {"name": "LIBGKFS_HOSTS_FILE", "value": "${config:gkfs_hostfile}"},
                {"name": "LIBGKFS_LOG_OUTPUT", "value": "${config:gkfs_work_path}/client_vsdebug.log"},
                {
                    "name": "LD_PRELOAD",
                    "value": "${workspaceFolder}/build/src/client/libgkfs_intercept.so",
                },
                {
                    "name": "LIBGKFS_LOG",
                    "value": "info"
                }, //most
                {
                    "name": "LIBGKFS_HOSTS_FILE",
                    "value": "${config:gkfs_hostfile}"
                },
                {
                    "name": "LIBGKFS_LOG_OUTPUT",
                    "value": "${config:gkfs_work_path}/client_vsdebug.log"
                },
            ],
            "externalConsole": false,
            "MIMode": "gdb",
@@ -95,8 +125,7 @@
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [
            ],
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
@@ -107,6 +136,5 @@
                }
            ]
        },
        
    ]
}
 No newline at end of file