mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 06:50:12 +00:00
feat: hidebug support to input captureNumericValue = true
Signed-off-by: yanmengzhao1 <yanmengzhao1@huawei.com>
This commit is contained in:
parent
67d8004b0b
commit
791a95356f
@ -410,7 +410,7 @@ napi_value DumpHeapData(napi_env env, napi_callback_info info)
|
||||
return CreateErrorMessage(env, "file created failed.");
|
||||
}
|
||||
NativeEngine *engine = reinterpret_cast<NativeEngine*>(env);
|
||||
engine->DumpHeapSnapshot(filePath);
|
||||
engine->DumpHeapSnapshot(filePath, true, DumpFormat::JSON, false, true);
|
||||
return CreateUndefined(env);
|
||||
}
|
||||
|
||||
@ -439,7 +439,7 @@ napi_value DumpJsHeapData(napi_env env, napi_callback_info info)
|
||||
return CreateErrorMessage(env, "file created failed.");
|
||||
}
|
||||
NativeEngine *engine = reinterpret_cast<NativeEngine*>(env);
|
||||
engine->DumpHeapSnapshot(filePath);
|
||||
engine->DumpHeapSnapshot(filePath, true, DumpFormat::JSON, false, true);
|
||||
return CreateUndefined(env);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user