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

Side by Side Diff: runtime/vm/debugger.h

Issue 149853004: Find all compiled copies of a function when setting breakpoint (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 | runtime/vm/debugger.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_DEBUGGER_H_ 5 #ifndef VM_DEBUGGER_H_
6 #define VM_DEBUGGER_H_ 6 #define VM_DEBUGGER_H_
7 7
8 #include "include/dart_debugger_api.h" 8 #include "include/dart_debugger_api.h"
9 9
10 #include "vm/object.h" 10 #include "vm/object.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 static bool IsDebuggable(const Function& func); 376 static bool IsDebuggable(const Function& func);
377 377
378 private: 378 private:
379 enum ResumeAction { 379 enum ResumeAction {
380 kContinue, 380 kContinue,
381 kStepOver, 381 kStepOver,
382 kStepOut, 382 kStepOut,
383 kSingleStep 383 kSingleStep
384 }; 384 };
385 385
386 void FindEquivalentFunctions(const Script& script, 386 void FindCompiledFunctions(const Script& script,
387 intptr_t start_pos, 387 intptr_t start_pos,
388 intptr_t end_pos, 388 intptr_t end_pos,
389 GrowableObjectArray* function_list); 389 GrowableObjectArray* function_list);
390 RawFunction* FindBestFit(const Script& script, intptr_t token_pos); 390 RawFunction* FindBestFit(const Script& script, intptr_t token_pos);
391 RawFunction* FindInnermostClosure(const Function& function, 391 RawFunction* FindInnermostClosure(const Function& function,
392 intptr_t token_pos); 392 intptr_t token_pos);
393 intptr_t ResolveBreakpointPos(const Function& func, 393 intptr_t ResolveBreakpointPos(const Function& func,
394 intptr_t requested_token_pos); 394 intptr_t requested_token_pos);
395 void DeoptimizeWorld(); 395 void DeoptimizeWorld();
396 void SetInternalBreakpoints(const Function& target_function); 396 void SetInternalBreakpoints(const Function& target_function);
397 SourceBreakpoint* SetBreakpoint(const Script& script, intptr_t token_pos); 397 SourceBreakpoint* SetBreakpoint(const Script& script, intptr_t token_pos);
398 SourceBreakpoint* SetBreakpoint(const Function& target_function, 398 SourceBreakpoint* SetBreakpoint(const Function& target_function,
399 intptr_t first_token_pos, 399 intptr_t first_token_pos,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 484
485 friend class Isolate; 485 friend class Isolate;
486 friend class SourceBreakpoint; 486 friend class SourceBreakpoint;
487 DISALLOW_COPY_AND_ASSIGN(Debugger); 487 DISALLOW_COPY_AND_ASSIGN(Debugger);
488 }; 488 };
489 489
490 490
491 } // namespace dart 491 } // namespace dart
492 492
493 #endif // VM_DEBUGGER_H_ 493 #endif // VM_DEBUGGER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698