2022-03-13 10:24:18 +08:00

92 lines
3.6 KiB
JSON

{
// 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": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/test/pikascript_test",
// "program": "${workspaceFolder}/../build/src/boot/demo06-pikamain/pikascript_demo06-pikamain",
"args": [
// "--gtest_filter=instructUnit*",
// "--gtest_filter=stack.str",
// "--gtest_filter=VM*",
// "--gtest_filter=arg*",
// "--gtest_filter=VM.class_x_1",
// "--gtest_filter=parser.add_a_b*",
// "--gtest_filter=parser.method_void",
// "--gtest_filter=parser.add_a_b",
// "--gtest_filter=pikaMain.class_def",
// "--gtest_filter=parser.mpy_demo_1",
// "--gtest_filter=parser.__set__",
// "--gtest_filter=parser.__get__",
// "--gtest_filter=pikaMain.print_with_enter",
// "--gtest_filter=pikaMain.str_fun",
// "--gtest_filter=pikaMain.str_add",
// "--gtest_filter=content*",
// "--gtest_filter=pikaMain.print_in_def",
// "--gtest_filter=pikaMain.list_for_loop"
// "--gtest_filter=pikaMain.err_scop"
// "--gtest_filter=VM.a_jjcc"
// "--gtest_filter=VM.a_1_1d1"
// "--gtest_filter=queue*"
// "--gtest_filter=VM*"
// "--gtest_filter=parser._or_"
// "--gtest_filter=parser.while_true_block"
// "--gtest_filter=args*",
// "--gtest_filter=arg*",
// "--gtest_filter=content*",
// "--gtest_filter=object_test.printa",
// "--gtest_filter=object_test*",
// "--gtest_filter=stack*",
// "--gtest_filter=strs*",
// "--gtest_filter=block.ifrun2"
// "--gtest_filter=sysObj*"
// "--gtest_filter=object_test.a_b"
// "--gtest_filter=object_test.voidRun"
// "--gtest_filter=object_test*"
],
"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",
"program": "${workspaceFolder}/build/src/test/pikascript_test",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}