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

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

Issue 242453011: Add class id to debugger stack trace (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | « runtime/bin/dbg_message.cc ('k') | 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 * \return A handle to an array containing variable names and 472 * \return A handle to an array containing variable names and
473 * corresponding values. The array is empty if the activation frame has 473 * 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, 474 * no variables. If non-empty, variable names are at array offsets 2*n,
475 * values at offset 2*n+1. 475 * values at offset 2*n+1.
476 */ 476 */
477 DART_EXPORT Dart_Handle Dart_GetLocalVariables( 477 DART_EXPORT Dart_Handle Dart_GetLocalVariables(
478 Dart_ActivationFrame activation_frame); 478 Dart_ActivationFrame activation_frame);
479 479
480 480
481 /** 481 /**
482 * Returns origin class of a function.
483 *
484 * Requires there to be a current isolate.
485 *
486 * \return Returns the class id (a handle to an integer) of the class in
487 * which \function is defined. Returns a null handle if \function is defined
488 * at the top level. Returns an error object otherwise.
489 */
490 DART_EXPORT Dart_Handle Dart_GetFunctionOrigin(Dart_Handle function);
491
492
493 /**
482 * Returns an array containing all the global variable names and values of 494 * Returns an array containing all the global variable names and values of
483 * the library with given \library_id. 495 * the library with given \library_id.
484 * 496 *
485 * Requires there to be a current isolate. 497 * Requires there to be a current isolate.
486 * 498 *
487 * \return A handle to an array containing variable names and 499 * \return A handle to an array containing variable names and
488 * corresponding values. Variable names are at array offsets 2*n, 500 * corresponding values. Variable names are at array offsets 2*n,
489 * values at offset 2*n+1. 501 * values at offset 2*n+1.
490 */ 502 */
491 DART_EXPORT Dart_Handle Dart_GetGlobalVariables(intptr_t library_id); 503 DART_EXPORT Dart_Handle Dart_GetGlobalVariables(intptr_t library_id);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 710
699 711
700 /** 712 /**
701 * Returns the isolate id for an isolate. 713 * Returns the isolate id for an isolate.
702 * 714 *
703 * \return The Dart_IsolateId value corresponding to the isolate. 715 * \return The Dart_IsolateId value corresponding to the isolate.
704 */ 716 */
705 DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate isolate); 717 DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate isolate);
706 718
707 #endif // INCLUDE_DART_DEBUGGER_API_H_ 719 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « runtime/bin/dbg_message.cc ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698