Skip to content

Commit 4246fdf

Browse files
ashgtida-viper
andauthored
Apply suggestions from code review
Co-authored-by: Ebuka Ezike <[email protected]>
1 parent 1ac2ef8 commit 4246fdf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ class AttachArguments(AttachOrLaunchArguments, total=False):
104104
gdbRemoteHostname: str
105105

106106

107-
class BreakpiontData(TypedDict, total=False):
107+
class BreakpointData(TypedDict, total=False):
108108
column: int
109109
condition: str
110110
hitCondition: str
111111
logMessage: str
112112
mode: str
113113

114114

115-
class SourceBreakpoint(BreakpiontData):
115+
class SourceBreakpoint(BreakpointData):
116116
line: int
117117

118118

@@ -249,7 +249,7 @@ def __init__(
249249
# Packets that have been received and processed but have not yet been
250250
# requested by a test case.
251251
self._pending_packets: List[Optional[ProtocolMessage]] = []
252-
# Recieved packets that have not yet been processed.
252+
# Received packets that have not yet been processed.
253253
self._recv_packets: List[Optional[ProtocolMessage]] = []
254254
# Used as a mutex for _recv_packets and for notify when _recv_packets
255255
# changes.
@@ -276,7 +276,7 @@ def __init__(
276276
self.thread_stop_reasons: Dict[str, Any] = {}
277277
self.frame_scopes: Dict[str, Any] = {}
278278
# keyed by breakpoint id
279-
self.resolved_breakpoints: Dict[int, bool] = {}
279+
self.resolved_breakpoints: Dict[str, bool] = {}
280280

281281
# trigger enqueue thread
282282
self._recv_thread.start()

0 commit comments

Comments
 (0)