1{ 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 { 8 "name": "Launch - Debug", 9 "preLaunchTask": "Build - Debug", 10 "type": "mono", 11 "request": "launch", 12 "program": "${workspaceRoot}/output/bin/Debug/Renode.exe", 13 "cwd": "${workspaceRoot}", 14 }, 15 { 16 "name": "Launch - Release", 17 "preLaunchTask": "Build - Release", 18 "type": "mono", 19 "request": "launch", 20 "program": "${workspaceRoot}/output/bin/Release/Renode.exe", 21 "cwd": "${workspaceRoot}" 22 }, 23 { 24 "name": "Attach", 25 "internalConsoleOptions": "openOnSessionStart", 26 "type": "mono", 27 "request": "attach", 28 "address": "localhost", 29 "port": 55555 30 }, 31 { 32 "name": "(gdb) Tlib Attach", 33 "type": "cppdbg", 34 "request": "attach", 35 "program": "${workspaceRoot}/output/bin/Debug/Renode.exe", 36 "processId": "${command:pickProcess}", 37 "MIMode": "gdb", 38 "setupCommands": [ 39 { 40 "description": "Enable pretty-printing for gdb", 41 "text": "-enable-pretty-printing", 42 "ignoreFailures": true 43 }, 44 { 45 "text": "set breakpoint pending on" 46 }, 47 { 48 "text": "handle SIGXCPU SIG33 SIG35 SIG36 SIG37 SIGPWR nostop noprint" 49 }, 50 { 51 "text": "set architecture i386:x86-64" 52 } 53 ] 54 } 55 ] 56} 57