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

Side by Side Diff: src/debug.h

Issue 2864003: Save actual break point location to script break point object. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 static void Setup(bool create_heap_objects); 223 static void Setup(bool create_heap_objects);
224 static bool Load(); 224 static bool Load();
225 static void Unload(); 225 static void Unload();
226 static bool IsLoaded() { return !debug_context_.is_null(); } 226 static bool IsLoaded() { return !debug_context_.is_null(); }
227 static bool InDebugger() { return thread_local_.debugger_entry_ != NULL; } 227 static bool InDebugger() { return thread_local_.debugger_entry_ != NULL; }
228 static void PreemptionWhileInDebugger(); 228 static void PreemptionWhileInDebugger();
229 static void Iterate(ObjectVisitor* v); 229 static void Iterate(ObjectVisitor* v);
230 230
231 static Object* Break(Arguments args); 231 static Object* Break(Arguments args);
232 static void SetBreakPoint(Handle<SharedFunctionInfo> shared, 232 static void SetBreakPoint(Handle<SharedFunctionInfo> shared,
233 int source_position, 233 Handle<Object> break_point_object,
234 Handle<Object> break_point_object); 234 int* source_position);
235 static void ClearBreakPoint(Handle<Object> break_point_object); 235 static void ClearBreakPoint(Handle<Object> break_point_object);
236 static void ClearAllBreakPoints(); 236 static void ClearAllBreakPoints();
237 static void FloodWithOneShot(Handle<SharedFunctionInfo> shared); 237 static void FloodWithOneShot(Handle<SharedFunctionInfo> shared);
238 static void FloodHandlerWithOneShot(); 238 static void FloodHandlerWithOneShot();
239 static void ChangeBreakOnException(ExceptionBreakType type, bool enable); 239 static void ChangeBreakOnException(ExceptionBreakType type, bool enable);
240 static void PrepareStep(StepAction step_action, int step_count); 240 static void PrepareStep(StepAction step_action, int step_count);
241 static void ClearStepping(); 241 static void ClearStepping();
242 static bool StepNextContinue(BreakLocationIterator* break_location_iterator, 242 static bool StepNextContinue(BreakLocationIterator* break_location_iterator,
243 JavaScriptFrame* frame); 243 JavaScriptFrame* frame);
244 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 244 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 949
950 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 950 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
951 }; 951 };
952 952
953 953
954 } } // namespace v8::internal 954 } } // namespace v8::internal
955 955
956 #endif // ENABLE_DEBUGGER_SUPPORT 956 #endif // ENABLE_DEBUGGER_SUPPORT
957 957
958 #endif // V8_DEBUG_H_ 958 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698