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

Unified Diff: runtime/include/dart_debugger_api.h

Issue 8826007: First bits of external debugger API (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/vm/code_generator_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_debugger_api.h
===================================================================
--- runtime/include/dart_debugger_api.h (revision 0)
+++ runtime/include/dart_debugger_api.h (revision 0)
@@ -0,0 +1,31 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#ifndef INCLUDE_DART_DEBUGGER_API_H_
+#define INCLUDE_DART_DEBUGGER_API_H_
+
+#include "include/dart_api.h"
+
+typedef struct _Dart_Breakpoint* Dart_Breakpoint;
+
+
+/**
+ * Sets a breakpoint at the entry of the given function. If class_name
+ * is the empty string, looks for a library function with the given
+ * name.
+ *
+ * Requires there to be a current isolate.
+ *
+ * \breakpoint If non-null, will point to the breakpoint object
+ * if a breakpoint was successfully created.
+ *
+ * \return A handle to the True object if no error occurs.
+ */
+DART_EXPORT Dart_Handle Dart_SetBreakpointAtEntry(
+ Dart_Handle library,
+ Dart_Handle class_name,
+ Dart_Handle function_name,
+ Dart_Breakpoint* breakpoint);
+
+#endif // INCLUDE_DART_DEBUGGER_API_H_
Property changes on: runtime/include/dart_debugger_api.h
___________________________________________________________________
Added: svn:executable
+ *
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/vm/code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698