2021-10-01 00:21:50 +08:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "test",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2021-10-12 22:03:55 +08:00
|
|
|
"program": "${workspaceFolder}/build/test/pikascript_test",
|
2021-10-04 09:42:46 +08:00
|
|
|
// "program": "${workspaceFolder}/../build/src/boot/demo06-pikamain/pikascript_demo06-pikamain",
|
2021-10-01 00:21:50 +08:00
|
|
|
"args": [
|
|
|
|
// "--gtest_filter=object_test.test2"
|
2021-10-13 18:06:53 +08:00
|
|
|
"--gtest_filter=parser*"
|
2021-10-13 10:40:47 +08:00
|
|
|
// "--gtest_filter=block.ifrun2"
|
2021-10-01 00:21:50 +08:00
|
|
|
// "--gtest_filter=sysObj.print"
|
|
|
|
// "--gtest_filter=object_test.a_b"
|
|
|
|
// "--gtest_filter=object_test.voidRun"
|
|
|
|
// "--gtest_filter=object_test.printa"
|
|
|
|
],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "(gdb) Launch",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
2021-10-04 09:42:46 +08:00
|
|
|
"program": "${workspaceFolder}/build/src/test/pikascript_test",
|
2021-10-01 00:21:50 +08:00
|
|
|
"args": [],
|
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"environment": [],
|
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|