summaryrefslogtreecommitdiff
path: root/runtime/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/debugger.h')
-rw-r--r--runtime/debugger.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/debugger.h b/runtime/debugger.h
index d015294eac..4f4a781c23 100644
--- a/runtime/debugger.h
+++ b/runtime/debugger.h
@@ -253,6 +253,10 @@ class Dbg {
// Returns true if we had -Xrunjdwp or -agentlib:jdwp= on the command line.
static bool IsJdwpConfigured();
+ // Returns true if a method has any breakpoints.
+ static bool MethodHasAnyBreakpoints(mirror::ArtMethod* method)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) LOCKS_EXCLUDED(Locks::breakpoint_lock_);
+
static bool IsDisposed();
/*