Searched refs:errorStack (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/js_environment/test/unittest/uncaught_exception_callback_test/ |
H A D | uncaught_exception_callback_test.cpp | 80 std::string errorStack = "TypeError: This is a stack trace."; variable 86 napi_create_string_utf8(env, errorStack.c_str(), errorStack.length(), &nativeErrorStack); 94 ASSERT_EQ(callback3.GetNativeStrFromJsTaggedObj(object, "stack"), errorStack); 183 std::string errorStack = "TypeError: This is a stack trace."; variable 187 napi_create_string_utf8(env, errorStack.c_str(), errorStack.length(), &nativeErrorStack); 217 std::string errorStack = "TypeError: This is a stack trace."; variable 232 napi_create_string_utf8(env, errorStack.c_str(), errorStack.length(), &nativeErrorStack);
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | uncaught_exception_callback.cpp | 59 std::string errorStack = GetNativeStrFromJsTaggedObj(obj, "stack"); in operator ()() local 66 .stack = errorStack in operator ()() 74 if (errorStack.empty()) { in operator ()() 89 if (errorStack.find(BACKTRACE) != std::string::npos) { in operator ()() 90 summary += error + "Stacktrace:\n" + GetBuildId(errorStack); in operator ()() 92 summary += error + "Stacktrace:\n" + errorStack; in operator ()()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | simulator.cpp | 971 std::string errorStack = GetNativeStrFromJsTaggedObj(obj, "stack"); in ReportJsError() local 981 if (errorStack.empty()) { in ReportJsError() 985 summary += "Stacktrace:\n" + errorStack; in ReportJsError()
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_command.cpp | 2206 std::string errorStack = ""; in RunAsNotifyAppFaultCommand() local 2251 errorStack = optarg; in RunAsNotifyAppFaultCommand() 2286 … errorName.c_str(), errorMessage.c_str(), errorStack.c_str(), faultType.c_str(), pid.c_str()); in RunAsNotifyAppFaultCommand() 2291 faultData.errorObject.stack = errorStack; in RunAsNotifyAppFaultCommand()
|