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

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

Issue 23609032: Add "function" as an argument to Dart_ActivationFrameInfo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 int frame_index, 388 int frame_index,
389 Dart_ActivationFrame* frame); 389 Dart_ActivationFrame* frame);
390 390
391 391
392 /** 392 /**
393 * DEPRECATED -- Use Dart_ActivationframeGetLocation instead. 393 * DEPRECATED -- Use Dart_ActivationframeGetLocation instead.
394 * 394 *
395 * Returns information about the given activation frame. 395 * Returns information about the given activation frame.
396 * \function_name receives a string handle with the qualified 396 * \function_name receives a string handle with the qualified
397 * function name. 397 * function name.
398 * \function receives a handle to the function.
398 * \script_url receives a string handle with the url of the 399 * \script_url receives a string handle with the url of the
399 * source script that contains the frame's function. 400 * source script that contains the frame's function.
400 * \line_number receives the line number in the script. 401 * \line_number receives the line number in the script.
401 * \library_id receives the id of the library in which the 402 * \library_id receives the id of the library in which the
402 * function in this frame is defined. 403 * function in this frame is defined.
403 * 404 *
404 * Any or all of the out parameters above may be NULL. 405 * Any or all of the out parameters above may be NULL.
405 * 406 *
406 * Requires there to be a current isolate. 407 * Requires there to be a current isolate.
407 * 408 *
408 * \return A handle to the True object if no error occurs. 409 * \return A handle to the True object if no error occurs.
409 */ 410 */
410 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo( 411 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo(
411 Dart_ActivationFrame activation_frame, 412 Dart_ActivationFrame activation_frame,
412 Dart_Handle* function_name, 413 Dart_Handle* function_name,
414 Dart_Handle* function,
hausner 2013/09/12 00:32:19 Please don't add the parameter to a deprecated API
Jacob 2013/09/12 17:38:50 Whoops. I didn't notice that this method was depre
413 Dart_Handle* script_url, 415 Dart_Handle* script_url,
414 intptr_t* line_number, 416 intptr_t* line_number,
415 intptr_t* library_id); 417 intptr_t* library_id);
416 418
417 419
418 /** 420 /**
419 * Returns code location of the given activation frame. 421 * Returns code location of the given activation frame.
420 * 422 *
421 * \function_name receives a string handle with the qualified 423 * \function_name receives a string handle with the qualified
422 * function name. 424 * function name.
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 * \param request A REST-like string, which uses '/' to separate 676 * \param request A REST-like string, which uses '/' to separate
675 * parameters. The first parameter is always the status type. 677 * parameters. The first parameter is always the status type.
676 * 678 *
677 * \return The requested status as a JSON formatted string, with the 679 * \return The requested status as a JSON formatted string, with the
678 * contents defined by the status plug-in. The caller is responsible 680 * contents defined by the status plug-in. The caller is responsible
679 * for freeing this string. 681 * for freeing this string.
680 */ 682 */
681 DART_EXPORT char* Dart_GetVmStatus(const char* request); 683 DART_EXPORT char* Dart_GetVmStatus(const char* request);
682 684
683 #endif // INCLUDE_DART_DEBUGGER_API_H_ 685 #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