Modify and supplement the stack column printing code of DFX module

上传dfx模块代码,增加native栈栈列打印功能

https://gitee.com/openharmony/ark_js_runtime/issues/I4VB5Z

Signed-off-by: shikai-123 <shikai25@huawei.com>
This commit is contained in:
shikai-123
2022-03-03 16:33:47 +08:00
committed by shikai
parent 85ee1a3671
commit 074d78f235
3 changed files with 25 additions and 9 deletions
+2 -2
View File
@@ -70,12 +70,12 @@ namespace OHOS::Js_sys_module::Process {
{
int ret = pipe(stdOutFd_);
if (ret < 0) {
HILOG_ERROR("pipe1 faile %{public}d", errno);
HILOG_ERROR("pipe1 failed %{public}d", errno);
return;
}
ret = pipe(stdErrFd_);
if (ret < 0) {
HILOG_ERROR("pipe2 faile %{public}d", errno);
HILOG_ERROR("pipe2 failed %{public}d", errno);
return;
}
std::string strCommnd = RequireStrValue(command);