Skip to content

Commit 4c34277

Browse files
removed unused methods
1 parent 9563c25 commit 4c34277

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

python/mqt/debugger/dap/dap_server.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -644,21 +644,3 @@ def send_message_simple(
644644
self.source_file,
645645
)
646646
send_message(json.dumps(event.encode()), connection)
647-
648-
def send_state(self, connection: socket.socket) -> None:
649-
"""Send the state of the current execution to the client.
650-
651-
Args:
652-
connection (socket.socket): The client socket.
653-
"""
654-
output_lines = []
655-
if self.simulation_state.did_assertion_fail():
656-
output_lines.append("Assertion failed")
657-
if self.simulation_state.was_breakpoint_hit():
658-
output_lines.append("Breakpoint hit")
659-
if self.simulation_state.is_finished():
660-
output_lines.append("Finished")
661-
if not output_lines:
662-
output_lines.append("Running")
663-
for line_text in output_lines:
664-
self.send_message_simple(line_text, None, None, 0, 0, connection)

0 commit comments

Comments
 (0)