robotcode-debugger 1.0.3__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/PKG-INFO +3 -3
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/pyproject.toml +2 -2
- robotcode_debugger-1.2.0/src/robotcode/debugger/__version__.py +1 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/debugger.py +0 -2
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/server.py +5 -3
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/protocol.py +2 -2
- robotcode_debugger-1.0.3/src/robotcode/debugger/__version__.py +0 -1
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/.gitignore +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/LICENSE.txt +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/README.md +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/__init__.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/cli.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/dap_types.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/default_capabilities.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/hooks.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/id_manager.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/__init__.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/cli.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/client.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/run.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/listeners.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/py.typed +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/run.py +0 -0
- {robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: robotcode-debugger
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: RobotCode Debugger for Robot Framework
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
|
@@ -25,8 +25,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
25
25
|
Classifier: Topic :: Utilities
|
|
26
26
|
Classifier: Typing :: Typed
|
|
27
27
|
Requires-Python: >=3.8
|
|
28
|
-
Requires-Dist: robotcode-jsonrpc2==1.0
|
|
29
|
-
Requires-Dist: robotcode-runner==1.0
|
|
28
|
+
Requires-Dist: robotcode-jsonrpc2==1.2.0
|
|
29
|
+
Requires-Dist: robotcode-runner==1.2.0
|
|
30
30
|
Requires-Dist: robotframework>=4.1.0
|
|
31
31
|
Provides-Extra: debugpy
|
|
32
32
|
Requires-Dist: debugpy; extra == 'debugpy'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.2.0"
|
|
@@ -547,7 +547,6 @@ class Debugger:
|
|
|
547
547
|
lines: Optional[List[int]] = None,
|
|
548
548
|
source_modified: Optional[bool] = None,
|
|
549
549
|
) -> List[Breakpoint]:
|
|
550
|
-
|
|
551
550
|
if self.is_windows_path(source.path or ""):
|
|
552
551
|
path: pathlib.PurePath = pathlib.PureWindowsPath(source.path or "")
|
|
553
552
|
else:
|
|
@@ -647,7 +646,6 @@ class Debugger:
|
|
|
647
646
|
if source_path in self.breakpoints:
|
|
648
647
|
breakpoints = [v for v in self.breakpoints[source_path].breakpoints if v.line == line_no]
|
|
649
648
|
if len(breakpoints) > 0:
|
|
650
|
-
|
|
651
649
|
for point in breakpoints:
|
|
652
650
|
if point.condition is not None:
|
|
653
651
|
hit = False
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/server.py
RENAMED
|
@@ -143,8 +143,8 @@ class LauncherDebugAdapterProtocol(DebugAdapterProtocol):
|
|
|
143
143
|
robotcode_run_args = [
|
|
144
144
|
python or sys.executable,
|
|
145
145
|
*debugger_script,
|
|
146
|
-
*itertools.chain.from_iterable(["
|
|
147
|
-
*itertools.chain.from_iterable(["
|
|
146
|
+
*itertools.chain.from_iterable(["-p", p] for p in profiles or []),
|
|
147
|
+
*itertools.chain.from_iterable(["-dp", p] for p in paths or []),
|
|
148
148
|
*(robotCodeArgs or []),
|
|
149
149
|
"debug",
|
|
150
150
|
]
|
|
@@ -245,7 +245,9 @@ class LauncherDebugAdapterProtocol(DebugAdapterProtocol):
|
|
|
245
245
|
kind=(
|
|
246
246
|
RunInTerminalKind.INTEGRATED
|
|
247
247
|
if console == "integratedTerminal"
|
|
248
|
-
else RunInTerminalKind.EXTERNAL
|
|
248
|
+
else RunInTerminalKind.EXTERNAL
|
|
249
|
+
if console == "externalTerminal"
|
|
250
|
+
else None
|
|
249
251
|
),
|
|
250
252
|
title=name,
|
|
251
253
|
)
|
|
@@ -44,7 +44,7 @@ class DebugAdapterErrorResponseError(JsonRPCException):
|
|
|
44
44
|
def __init__(self, error: ErrorResponse) -> None:
|
|
45
45
|
super().__init__(
|
|
46
46
|
f'{error.message} (seq={error.request_seq} command="{error.command}")'
|
|
47
|
-
f
|
|
47
|
+
f"{f': {error.body.error}' if error.body is not None and error.body.error else ''}"
|
|
48
48
|
)
|
|
49
49
|
self.error = error
|
|
50
50
|
|
|
@@ -60,7 +60,7 @@ class DebugAdapterRPCErrorException(JsonRPCException):
|
|
|
60
60
|
) -> None:
|
|
61
61
|
super().__init__(
|
|
62
62
|
f'{(message + " ") if message else ""}(seq={request_seq} command="{command}")'
|
|
63
|
-
f
|
|
63
|
+
f"{f': {error_message}' if error_message else ''}"
|
|
64
64
|
)
|
|
65
65
|
self.message = message
|
|
66
66
|
self.request_seq = request_seq
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/default_capabilities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/__init__.py
RENAMED
|
File without changes
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/cli.py
RENAMED
|
File without changes
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/client.py
RENAMED
|
File without changes
|
{robotcode_debugger-1.0.3 → robotcode_debugger-1.2.0}/src/robotcode/debugger/launcher/run.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|