Hi all, I have implemented debugger for JS using the inspector protocol. But sometimes, the process crashes with the call stack shown below:
v8.dll!v8::internal::SharedFunctionInfo::DebugName() Line 13817 C++ v8.dll!v8::internal::JSFunction::GetName(v8::internal::Handle<v8::internal:: JSFunction> function) Line 13276 C++ v8.dll!v8::internal::JSFunction::GetDebugName(v8::internal::Handle<v8:: internal::JSFunction> function) Line 13286 C++ v8.dll!v8::internal::ScopeIterator::GetFunctionDebugName() Line 45 C++ v8.dll!v8::internal::DebugScopeIterator::GetFunctionDebugName() Line 102 C++ v8.dll!v8_inspector::V8DebuggerAgentImpl::currentCallFrames(std::unique_ptr< v8_inspector::protocol::Array<v8_inspector::protocol::Debugger::CallFrame>, std::default_delete<v8_inspector::protocol::Array<v8_inspector::protocol:: Debugger::CallFrame> > > * result) Line 1263 C++ v8.dll!v8_inspector::V8DebuggerAgentImpl::didPause(int contextId, v8::Local< v8::Value> exception, const std::vector<int,std::allocator<int> > & hitBreakpoints, v8::debug::ExceptionType exceptionType, bool isUncaught, bool isAssert, bool) Line 1588 C++ [External Code] v8.dll!v8_inspector::V8InspectorImpl::forEachSession(int contextGroupId, const std::function<void (v8_inspector::V8InspectorSessionImpl *)> & callback) Line 393 C++ v8.dll!v8_inspector::V8Debugger::handleProgramBreak(v8::Local<v8::Context> pausedContext, v8::Local<v8::Value> exception, const std::vector<int,std:: allocator<int> > & breakpointIds, v8::debug::ExceptionType exceptionType, bool isUncaught) Line 524 C++ v8.dll!v8_inspector::V8Debugger::BreakProgramRequested(v8::Local<v8::Context > pausedContext, const std::vector<int,std::allocator<int> > & break_points_hit) Line 607 C++ v8.dll!v8::internal::Debug::OnDebugBreak(v8::internal::Handle<v8::internal:: FixedArray> break_points_hit) Line 1777 C++ v8.dll!v8::internal::Debug::Break(v8::internal::JavaScriptFrame * frame, v8 ::internal::Handle<v8::internal::JSFunction> break_target) Line 513 C++ v8.dll!v8::internal::Runtime_DebugBreakOnBytecode(int args_length, v8:: internal::Object * * args_object, v8::internal::Isolate * isolate) Line 33 C ++ [External Code] v8.dll!v8::internal::Builtin_HandleApiCallAsFunction(int args_length, v8:: internal::Object * * args_object, v8::internal::Isolate * isolate) Line 300 C++ [External Code] The crash is sporadic, and usually happens when debugging fast. Please let me know if anyone has any information about this issue. regards, Anoop R S. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.