diff --git a/hilda/hilda_client.py b/hilda/hilda_client.py index ba52a1c..0e5b3d0 100644 --- a/hilda/hilda_client.py +++ b/hilda/hilda_client.py @@ -340,8 +340,6 @@ def stop(self, *args) -> None: if not self.process.Stop().Success(): self.log_critical('failed to stop process') - else: - self.log_info('Process Stopped') def cont(self, *args) -> None: """ Continue process. """ @@ -357,8 +355,6 @@ def cont(self, *args) -> None: if not self.process.Continue().Success(): self.log_critical('failed to continue process') - else: - self.log_info('Process Continued') def detach(self): """ diff --git a/hilda/ipython_extensions/keybindings.py b/hilda/ipython_extensions/keybindings.py index 6f9f828..dc71fd5 100644 --- a/hilda/ipython_extensions/keybindings.py +++ b/hilda/ipython_extensions/keybindings.py @@ -8,8 +8,8 @@ def register_keybindings(): hilda = ipython.user_ns['p'] keys_mapping = {Keys.F7: hilda.step_into, Keys.F8: hilda.step_over, - Keys.F9: hilda.cont, - Keys.F10: hilda.stop} + Keys.F9: lambda _: (hilda.log_info('Sending continue'), hilda.cont()), + Keys.F10: lambda _: (hilda.log_info('Sending stop'), hilda.stop())} insert_mode = ViInsertMode() | EmacsInsertMode() registry = ipython.pt_app.key_bindings