mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-07 08:03:29 +00:00
!4482 Fix router exception while debugger
Merge pull request !4482 from 杨阳/fix_router
This commit is contained in:
commit
a3f81b528a
@ -141,13 +141,6 @@ public:
|
||||
}
|
||||
hooks_->VmDeath();
|
||||
}
|
||||
void PendingJobEntry() override
|
||||
{
|
||||
if (hooks_ == nullptr) {
|
||||
return;
|
||||
}
|
||||
hooks_->PendingJobEntry();
|
||||
}
|
||||
void NativeCalling(const void *nativeAddress) override
|
||||
{
|
||||
if (hooks_ == nullptr) {
|
||||
|
@ -70,11 +70,6 @@ public:
|
||||
*/
|
||||
virtual void LoadModule(std::string_view pandaFileName, std::string_view entryPoint) = 0;
|
||||
|
||||
/**
|
||||
* \brief called before executing pending job
|
||||
*/
|
||||
virtual void PendingJobEntry() = 0;
|
||||
|
||||
/**
|
||||
* \brief called by the ecmavm when virtual machine start initialization
|
||||
*/
|
||||
|
@ -37,7 +37,6 @@ public:
|
||||
virtual bool HandleDebuggerStmt(JSHandle<Method> method, uint32_t bcOffset) = 0;
|
||||
virtual void VmStart() = 0;
|
||||
virtual void VmDeath() = 0;
|
||||
virtual void PendingJobEntry() = 0;
|
||||
virtual void NativeCalling(const void *nativeAddress) = 0;
|
||||
};
|
||||
|
||||
@ -88,13 +87,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void PendingJobEntryEvent() const
|
||||
{
|
||||
if (UNLIKELY(listener_ != nullptr)) {
|
||||
listener_->PendingJobEntry();
|
||||
}
|
||||
}
|
||||
|
||||
void VmStartEvent() const
|
||||
{
|
||||
if (UNLIKELY(listener_ != nullptr)) {
|
||||
|
@ -40,8 +40,6 @@ public:
|
||||
{
|
||||
[[maybe_unused]] EcmaHandleScope handleScope(thread);
|
||||
EXECUTE_JOB_HITRACE(pendingJob);
|
||||
tooling::JsDebuggerManager *jsDebuggerManager = thread->GetEcmaVM()->GetJsDebuggerManager();
|
||||
jsDebuggerManager->GetNotificationManager()->PendingJobEntryEvent();
|
||||
|
||||
JSHandle<JSTaggedValue> job(thread, pendingJob->GetJob());
|
||||
ASSERT(job->IsCallable());
|
||||
|
Loading…
Reference in New Issue
Block a user