Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Side by Side Diff: src/objects-printer.cc

Issue 1234833003: Debugger: use debug break slots to break at function exit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix for arm Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 os << "\n - eval from instructions offset: " 981 os << "\n - eval from instructions offset: "
982 << Brief(eval_from_instructions_offset()); 982 << Brief(eval_from_instructions_offset());
983 os << "\n - shared function infos: " << Brief(shared_function_infos()); 983 os << "\n - shared function infos: " << Brief(shared_function_infos());
984 os << "\n"; 984 os << "\n";
985 } 985 }
986 986
987 987
988 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT 988 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
989 HeapObject::PrintHeader(os, "DebugInfo"); 989 HeapObject::PrintHeader(os, "DebugInfo");
990 os << "\n - shared: " << Brief(shared()); 990 os << "\n - shared: " << Brief(shared());
991 os << "\n - original_code: " << Brief(original_code());
992 os << "\n - code: " << Brief(code()); 991 os << "\n - code: " << Brief(code());
993 os << "\n - break_points: "; 992 os << "\n - break_points: ";
994 break_points()->Print(os); 993 break_points()->Print(os);
995 } 994 }
996 995
997 996
998 void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT 997 void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT
999 HeapObject::PrintHeader(os, "BreakPointInfo"); 998 HeapObject::PrintHeader(os, "BreakPointInfo");
1000 os << "\n - code_position: " << code_position()->value(); 999 os << "\n - code_position: " << code_position()->value();
1001 os << "\n - source_position: " << source_position()->value(); 1000 os << "\n - source_position: " << source_position()->value();
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 } 1168 }
1170 } 1169 }
1171 1170
1172 1171
1173 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1172 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1174 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1173 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1175 } 1174 }
1176 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1175 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1177 } // namespace internal 1176 } // namespace internal
1178 } // namespace v8 1177 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698