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

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

Issue 19713002: Allow type objects to be passed in to Dart_GetStaticFields (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 * corresponding field values. The array is empty if the object has 546 * corresponding field values. The array is empty if the object has
547 * no fields. If non-empty, field names are at array offsets 2*n, 547 * no fields. If non-empty, field names are at array offsets 2*n,
548 * values at offset 2*n+1. Field values may also be a handle to an 548 * values at offset 2*n+1. Field values may also be a handle to an
549 * error object if an error was encountered evaluating the field. 549 * error object if an error was encountered evaluating the field.
550 */ 550 */
551 DART_EXPORT Dart_Handle Dart_GetInstanceFields(Dart_Handle object); 551 DART_EXPORT Dart_Handle Dart_GetInstanceFields(Dart_Handle object);
552 552
553 553
554 /** 554 /**
555 * Returns an array containing all static field names and values of 555 * Returns an array containing all static field names and values of
556 * the given class \cls. 556 * the given type \target.
557 * 557 *
558 * Requires there to be a current isolate. 558 * Requires there to be a current isolate.
559 * 559 *
560 * \return A handle to an array containing field names and 560 * \return A handle to an array containing field names and
561 * corresponding field values. The array is empty if the class has 561 * corresponding field values. The array is empty if the class has
562 * no static fields. If non-empty, field names are at array offsets 2*n, 562 * no static fields. If non-empty, field names are at array offsets 2*n,
563 * values at offset 2*n+1. Field values may also be a handle to an 563 * values at offset 2*n+1. Field values may also be a handle to an
564 * error object if an error was encountered evaluating the field. 564 * error object if an error was encountered evaluating the field.
565 */ 565 */
566 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle cls); 566 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle target);
567 567
568 568
569 /** 569 /**
570 * Returns an array containing all variable names and values of 570 * Returns an array containing all variable names and values of
571 * the given library \library_id. 571 * the given library \library_id.
572 * 572 *
573 * Requires there to be a current isolate. 573 * Requires there to be a current isolate.
574 * 574 *
575 * \return A handle to an array containing variable names and 575 * \return A handle to an array containing variable names and
576 * corresponding values. The array is empty if the library has 576 * corresponding values. The array is empty if the library has
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 * \param request A REST-like string, which uses '/' to separate 633 * \param request A REST-like string, which uses '/' to separate
634 * parameters. The first parameter is always the status type. 634 * parameters. The first parameter is always the status type.
635 * 635 *
636 * \return The requested status as a JSON formatted string, with the 636 * \return The requested status as a JSON formatted string, with the
637 * contents defined by the status plug-in. The caller is responsible 637 * contents defined by the status plug-in. The caller is responsible
638 * for freeing this string. 638 * for freeing this string.
639 */ 639 */
640 DART_EXPORT char* Dart_GetVmStatus(const char* request); 640 DART_EXPORT char* Dart_GetVmStatus(const char* request);
641 641
642 #endif // INCLUDE_DART_DEBUGGER_API_H_ 642 #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