Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 596c48a

Browse files
committed
Remove the import hook after successfully setting a breakpoint, instead of waiting until it is completed.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138536493
1 parent 1ef53ef commit 596c48a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/googleclouddebugger/python_breakpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def _TryActivateBreakpoint(self):
208208
condition,
209209
self._BreakpointEvent)
210210

211+
self._RemoveImportHook()
211212
return True
212213

213214
def _FindCodeObject(self):

0 commit comments

Comments
 (0)