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

Side by Side Diff: src/debug.h

Issue 15960016: Provide list of step-in source positions in JS Debug API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 7 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void Next(); 90 void Next();
91 void Next(int count); 91 void Next(int count);
92 void FindBreakLocationFromAddress(Address pc); 92 void FindBreakLocationFromAddress(Address pc);
93 void FindBreakLocationFromPosition(int position); 93 void FindBreakLocationFromPosition(int position);
94 void Reset(); 94 void Reset();
95 bool Done() const; 95 bool Done() const;
96 void SetBreakPoint(Handle<Object> break_point_object); 96 void SetBreakPoint(Handle<Object> break_point_object);
97 void ClearBreakPoint(Handle<Object> break_point_object); 97 void ClearBreakPoint(Handle<Object> break_point_object);
98 void SetOneShot(); 98 void SetOneShot();
99 void ClearOneShot(); 99 void ClearOneShot();
100 bool IsStepInLocation(Isolate* isolate);
100 void PrepareStepIn(Isolate* isolate); 101 void PrepareStepIn(Isolate* isolate);
101 bool IsExit() const; 102 bool IsExit() const;
102 bool HasBreakPoint(); 103 bool HasBreakPoint();
103 bool IsDebugBreak(); 104 bool IsDebugBreak();
104 Object* BreakPointObjects(); 105 Object* BreakPointObjects();
105 void ClearAllDebugBreak(); 106 void ClearAllDebugBreak();
106 107
107 108
108 inline int code_position() { 109 inline int code_position() {
109 return static_cast<int>(pc() - debug_info_->code()->entry()); 110 return static_cast<int>(pc() - debug_info_->code()->entry());
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 1050
1050 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1051 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1051 }; 1052 };
1052 1053
1053 1054
1054 } } // namespace v8::internal 1055 } } // namespace v8::internal
1055 1056
1056 #endif // ENABLE_DEBUGGER_SUPPORT 1057 #endif // ENABLE_DEBUGGER_SUPPORT
1057 1058
1058 #endif // V8_DEBUG_H_ 1059 #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