Lines Matching refs:debug_info
106 BreakLocationIterator::BreakLocationIterator(Handle<DebugInfo> debug_info, in BreakLocationIterator() argument
108 debug_info_ = debug_info; in BreakLocationIterator()
740 BreakLocationIterator it(node->debug_info(), ALL_BREAK_LOCATIONS); in HandleWeakDebugInfo()
742 debug->RemoveDebugInfo(node->debug_info()); in HandleWeakDebugInfo()
753 DebugInfoListNode::DebugInfoListNode(DebugInfo* debug_info): next_(NULL) { in DebugInfoListNode() argument
754 GlobalHandles* global_handles = debug_info->GetIsolate()->global_handles(); in DebugInfoListNode()
757 (global_handles->Create(debug_info))); in DebugInfoListNode()
972 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in Break() local
975 BreakLocationIterator break_location_iterator(debug_info, in Break()
1177 return !shared->debug_info()->IsUndefined(); in HasDebugInfo()
1185 return Handle<DebugInfo>(DebugInfo::cast(shared->debug_info())); in GetDebugInfo()
1203 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in SetBreakPoint() local
1208 BreakLocationIterator it(debug_info, SOURCE_BREAK_LOCATIONS); in SetBreakPoint()
1215 ASSERT(debug_info->GetBreakPointCount() > 0); in SetBreakPoint()
1247 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in SetBreakPointForScript() local
1252 BreakLocationIterator it(debug_info, SOURCE_BREAK_LOCATIONS); in SetBreakPointForScript()
1259 ASSERT(debug_info->GetBreakPointCount() > 0); in SetBreakPointForScript()
1269 Object* result = DebugInfo::FindBreakPointInfo(node->debug_info(), in ClearBreakPoint()
1274 Handle<DebugInfo> debug_info = node->debug_info(); in ClearBreakPoint() local
1277 BreakLocationIterator it(debug_info, SOURCE_BREAK_LOCATIONS); in ClearBreakPoint()
1278 it.FindBreakLocationFromAddress(debug_info->code()->entry() + in ClearBreakPoint()
1284 if (debug_info->GetBreakPointCount() == 0) { in ClearBreakPoint()
1285 RemoveDebugInfo(debug_info); in ClearBreakPoint()
1299 BreakLocationIterator it(node->debug_info(), ALL_BREAK_LOCATIONS); in ClearAllBreakPoints()
1306 RemoveDebugInfo(debug_info_list_->debug_info()); in ClearAllBreakPoints()
1437 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in PrepareStep() local
1440 BreakLocationIterator it(debug_info, ALL_BREAK_LOCATIONS); in PrepareStep()
1518 debug_info->code()->SourceStatementPosition(frame->pc()); in PrepareStep()
1586 debug_info->code()->SourceStatementPosition(frame->pc()); in PrepareStep()
1717 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in GetSourceBreakLocations() local
1718 if (debug_info->GetBreakPointCount() == 0) { in GetSourceBreakLocations()
1722 isolate->factory()->NewFixedArray(debug_info->GetBreakPointCount()); in GetSourceBreakLocations()
1724 for (int i = 0; i < debug_info->break_points()->length(); i++) { in GetSourceBreakLocations()
1725 if (!debug_info->break_points()->get(i)->IsUndefined()) { in GetSourceBreakLocations()
1727 BreakPointInfo::cast(debug_info->break_points()->get(i)); in GetSourceBreakLocations()
1835 BreakLocationIterator it(node->debug_info(), ALL_BREAK_LOCATIONS); in ClearOneShot()
2323 Handle<DebugInfo> debug_info = isolate->factory()->NewDebugInfo(shared); in EnsureDebugInfo() local
2326 DebugInfoListNode* node = new DebugInfoListNode(*debug_info); in EnsureDebugInfo()
2334 void Debug::RemoveDebugInfo(Handle<DebugInfo> debug_info) { in RemoveDebugInfo() argument
2340 if (*current->debug_info() == *debug_info) { in RemoveDebugInfo()
2347 current->debug_info()->shared()->set_debug_info( in RemoveDebugInfo()
2377 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in SetAfterBreakTarget() local
2378 Handle<Code> code(debug_info->code()); in SetAfterBreakTarget()
2379 Handle<Code> original_code(debug_info->original_code()); in SetAfterBreakTarget()
2395 RelocIterator it(debug_info->code()); in SetAfterBreakTarget()
2469 Handle<DebugInfo> debug_info = GetDebugInfo(shared); in IsBreakAtReturn() local
2470 Handle<Code> code(debug_info->code()); in IsBreakAtReturn()
2481 RelocIterator it(debug_info->code()); in IsBreakAtReturn()