summaryrefslogtreecommitdiffstats
path: root/vm/Debugger.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Debugger.c')
-rw-r--r--vm/Debugger.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vm/Debugger.c b/vm/Debugger.c
index be6fa6621..2f57046b7 100644
--- a/vm/Debugger.c
+++ b/vm/Debugger.c
@@ -418,6 +418,9 @@ void dvmDbgActive(void)
LOGI("Debugger is active\n");
dvmInitBreakpoints();
gDvm.debuggerActive = true;
+#if defined(WITH_JIT)
+ dvmCompilerStateRefresh();
+#endif
}
/*
@@ -445,6 +448,9 @@ void dvmDbgDisconnected(void)
dvmHashTableClear(gDvm.dbgRegistry);
dvmHashTableUnlock(gDvm.dbgRegistry);
+#if defined(WITH_JIT)
+ dvmCompilerStateRefresh();
+#endif
}
/*
@@ -3045,4 +3051,3 @@ void dvmDbgDdmSendChunkV(int type, const struct iovec* iov, int iovcnt)
dvmJdwpDdmSendChunkV(gDvm.jdwpState, type, iov, iovcnt);
}
-