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

Side by Side Diff: runtime/include/dart_debugger_api.h

Issue 545263002: Add ActivationFrame_GetFramePointer method and test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: removed comment that out parameter can be null Created 6 years, 3 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_api_impl.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 INCLUDE_DART_DEBUGGER_API_H_ 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_
6 #define INCLUDE_DART_DEBUGGER_API_H_ 6 #define INCLUDE_DART_DEBUGGER_API_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint;
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 * \return A handle to the True object if no error occurs. 455 * \return A handle to the True object if no error occurs.
456 * A handle to the False object if there is no text 456 * A handle to the False object if there is no text
457 * position for the frame. 457 * position for the frame.
458 */ 458 */
459 DART_EXPORT Dart_Handle Dart_ActivationFrameGetLocation( 459 DART_EXPORT Dart_Handle Dart_ActivationFrameGetLocation(
460 Dart_ActivationFrame activation_frame, 460 Dart_ActivationFrame activation_frame,
461 Dart_Handle* function_name, 461 Dart_Handle* function_name,
462 Dart_Handle* function, 462 Dart_Handle* function,
463 Dart_CodeLocation* location); 463 Dart_CodeLocation* location);
464 464
465 /**
466 * Returns frame pointer of the given activation frame.
467 *
468 * \frame_pointer receives the frame pointer for the frame.
469 *
470 * Requires there to be a current isolate.
471 *
472 * \return A handle to the True object if no error occurs.
473 */
474 DART_EXPORT Dart_Handle Dart_ActivationFrameGetFramePointer(
475 Dart_ActivationFrame activation_frame,
476 uintptr_t* frame_pointer);
465 477
466 /** 478 /**
467 * Returns an array containing all the local variable names and values of 479 * Returns an array containing all the local variable names and values of
468 * the given \activation_frame. 480 * the given \activation_frame.
469 * 481 *
470 * Requires there to be a current isolate. 482 * Requires there to be a current isolate.
471 * 483 *
472 * \return A handle to an array containing variable names and 484 * \return A handle to an array containing variable names and
473 * corresponding values. The array is empty if the activation frame has 485 * corresponding values. The array is empty if the activation frame has
474 * no variables. If non-empty, variable names are at array offsets 2*n, 486 * no variables. If non-empty, variable names are at array offsets 2*n,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 732
721 733
722 /** 734 /**
723 * Returns the isolate id for an isolate. 735 * Returns the isolate id for an isolate.
724 * 736 *
725 * \return The Dart_IsolateId value corresponding to the isolate. 737 * \return The Dart_IsolateId value corresponding to the isolate.
726 */ 738 */
727 DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate isolate); 739 DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate isolate);
728 740
729 #endif // INCLUDE_DART_DEBUGGER_API_H_ 741 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698