From 6b96ee857e366af317ab9dc1b6b4f9c22576e83b Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期四, 20 五月 2021 17:12:34 +0800 Subject: [PATCH] add sleeper, to reduce cpu usage. --- .vscode/launch.json | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index c959458..dbcd519 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,10 +8,13 @@ "name": "g++ - Build and debug active file", "type": "cppdbg", "request": "launch", - "program": "${workspaceFolder}/utest/utest", - "args": [], + "program": "${workspaceFolder}/debug/bin/utest", + "args": [ + "-t", + "ApiTest" + ], "stopAtEntry": false, - "cwd": "${workspaceFolder}", + "cwd": "${workspaceFolder}/debug", "environment": [], "externalConsole": false, "MIMode": "gdb", -- Gitblit v1.8.0