From e40368046afa3072e537dedef087212d5e41a1f5 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Tue, 3 Oct 2023 13:17:08 -0400 Subject: [PATCH] Update launch.json --- .vscode/launch.linux.json | 131 ++++-------------------------------- .vscode/launch.windows.json | 72 ++------------------ 2 files changed, 16 insertions(+), 187 deletions(-) diff --git a/.vscode/launch.linux.json b/.vscode/launch.linux.json index 5160aa2aa..743799ccc 100644 --- a/.vscode/launch.linux.json +++ b/.vscode/launch.linux.json @@ -14,39 +14,13 @@ "UBSAN_OPTIONS": "print_stacktrace=1" }, "cwd": "${workspaceFolder}", - "type": "lldb", + "type": "cppdbg", "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", "MIMode": "gdb", - "setupCommands": [ - { - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "text": "set print elements 0" - } - ] - }, - { - "name": "Tests Extension", - "preLaunchTask": "Build Only (debug)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit", - "args": [ - "${workspaceFolder}/apps/cesium.omniverse.cpp.tests.runner.kit" - ], - "env": { - // Disable LSAN when debugging since it doesn't work with GDB and prints harmless but annoying warning messages - "ASAN_OPTIONS": "detect_leaks=0", - "UBSAN_OPTIONS": "print_stacktrace=1" + "symbolLoadInfo": { + "loadAll": false, + "exceptionList": "libcesium.omniverse.plugin.so;libcesium.omniverse.cpp.tests.plugin.so" }, - "cwd": "${workspaceFolder}", - "type": "lldb", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", - "MIMode": "gdb", "setupCommands": [ { "text": "-enable-pretty-printing", @@ -70,91 +44,8 @@ "UBSAN_OPTIONS": "print_stacktrace=1" }, "cwd": "${workspaceFolder}", - "type": "lldb", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", - "MIMode": "gdb", - "setupCommands": [ - { - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "text": "set print elements 0" - } - ] - }, - { - "name": "Performance Tracing", - "preLaunchTask": "Build Only (release)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit", - "args": [ - "${workspaceFolder}/apps/cesium.omniverse.dev.trace.kit" - ], - "env": { - // Disable LSAN when debugging since it doesn't work with GDB and prints harmless but annoying warning messages - "ASAN_OPTIONS": "detect_leaks=0", - "UBSAN_OPTIONS": "print_stacktrace=1" - }, - "cwd": "${workspaceFolder}", - "type": "lldb", + "type": "cppdbg", "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", - "MIMode": "gdb", - "setupCommands": [ - { - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "text": "set print elements 0" - } - ] - }, - { - "name": "Performance Testing App", - "preLaunchTask": "Build Only (release)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit", - "args": [ - "${workspaceFolder}/apps/cesium.performance.kit" - ], - "env": { - // Disable LSAN when debugging since it doesn't work with GDB and prints harmless but annoying warning messages - "ASAN_OPTIONS": "detect_leaks=0", - "UBSAN_OPTIONS": "print_stacktrace=1" - }, - "cwd": "${workspaceFolder}", - "type": "lldb", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", - "MIMode": "gdb", - "setupCommands": [ - { - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "text": "set print elements 0" - } - ] - }, - { - "name": "C++ Unit Tests", - "preLaunchTask": "Build Only (debug)", - "program": "${workspaceFolder}/build-debug/bin/tests", - "env": { - // Disable LSAN when debugging since it doesn't work with GDB and prints harmless but annoying warning messages - "ASAN_OPTIONS": "detect_leaks=0", - "UBSAN_OPTIONS": "print_stacktrace=1" - }, - "cwd": "${workspaceFolder}", - "type": "lldb", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", "MIMode": "gdb", "setupCommands": [ { @@ -171,7 +62,7 @@ "preLaunchTask": "Build Only (debug)", "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit", "args": [ - "${workspaceFolder}/apps/cesium.omniverse.dev.kit" + "${workspaceFolder}/apps/cesium.omniverse.dev.python.debug.kit" ], "env": { // Disable LSAN when debugging since it doesn't work with GDB and prints harmless but annoying warning messages @@ -179,11 +70,13 @@ "UBSAN_OPTIONS": "print_stacktrace=1" }, "cwd": "${workspaceFolder}", - "type": "lldb", + "type": "cppdbg", "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", "MIMode": "gdb", + "symbolLoadInfo": { + "loadAll": false, + "exceptionList": "libcesium.omniverse.plugin.so;libcesium.omniverse.cpp.tests.plugin.so" + }, "setupCommands": [ { "text": "-enable-pretty-printing", @@ -202,4 +95,4 @@ "host": "localhost" } ] -} \ No newline at end of file +} diff --git a/.vscode/launch.windows.json b/.vscode/launch.windows.json index e859d1b13..fc84acecb 100644 --- a/.vscode/launch.windows.json +++ b/.vscode/launch.windows.json @@ -10,9 +10,7 @@ ], "cwd": "${workspaceFolder}", "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" + "request": "launch" }, { "name": "Development App (Kit Debug)", @@ -23,67 +21,7 @@ ], "cwd": "${workspaceFolder}", "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "name": "Performance Tracing", - "preLaunchTask": "Build Only (release)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit.exe", - "args": [ - "${workspaceFolder}/apps/cesium.omniverse.dev.trace.kit" - ], - "cwd": "${workspaceFolder}", - "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "name": "Performance Testing App", - "preLaunchTask": "Build Only (release)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit.exe", - "args": [ - "${workspaceFolder}/apps/cesium.performance.kit" - ], - "cwd": "${workspaceFolder}", - "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "name": "C++ Unit Tests", - "preLaunchTask": "Build Only (debug)", - "program": "${workspaceFolder}/build/bin/Debug/tests.exe", - "cwd": "${workspaceFolder}", - "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "name": "Tests Extension", - "preLaunchTask": "Build Only (debug)", - "program": "${workspaceFolder}/extern/nvidia/_build/target-deps/kit-sdk/kit.exe", - "args": [ - "${workspaceFolder}/apps/cesium.omniverse.cpp.tests.runner.kit" - ], - "cwd": "${workspaceFolder}", - "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart", - "setupCommands": [ - { - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "text": "set print elements 0" - } - ] + "request": "launch" }, { "name": "Python Debugging (start)", @@ -94,9 +32,7 @@ ], "cwd": "${workspaceFolder}", "type": "cppvsdbg", - "request": "launch", - "console": "externalTerminal", - "internalConsoleOptions": "openOnSessionStart" + "request": "launch" }, { "name": "Python Debugging (attach)", @@ -106,4 +42,4 @@ "host": "localhost" } ] -} \ No newline at end of file +}