summaryrefslogtreecommitdiffstats
path: root/runtime/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/debugger.h')
-rw-r--r--runtime/debugger.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/debugger.h b/runtime/debugger.h
index 6762608..0c22148 100644
--- a/runtime/debugger.h
+++ b/runtime/debugger.h
@@ -228,7 +228,7 @@ class Dbg {
static void SetJdwpAllowed(bool allowed);
- static void StartJdwp(const JDWP::JdwpOptions* jdwp_options);
+ static void StartJdwp();
static void StopJdwp();
// Invoked by the GC in case we need to keep DDMS informed.
@@ -254,6 +254,9 @@ class Dbg {
// just DDMS (or nothing at all).
static bool IsDebuggerActive();
+ // Configures JDWP with parsed command-line options.
+ static void ConfigureJdwp(const JDWP::JdwpOptions& jdwp_options);
+
// Returns true if we had -Xrunjdwp or -agentlib:jdwp= on the command line.
static bool IsJdwpConfigured();