robotcode-debugger 0.99.0__tar.gz → 0.100.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-0.99.0 → robotcode_debugger-0.100.0}/PKG-INFO +3 -3
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/pyproject.toml +2 -2
- robotcode_debugger-0.100.0/src/robotcode/debugger/__version__.py +1 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/debugger.py +13 -16
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/run.py +2 -10
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/server.py +0 -1
- robotcode_debugger-0.99.0/src/robotcode/debugger/__version__.py +0 -1
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/.gitignore +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/LICENSE.txt +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/README.md +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/__init__.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/cli.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/dap_types.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/hooks.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/__init__.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/cli.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/client.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/run.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/server.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/listeners.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/protocol.py +0 -0
- {robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: robotcode-debugger
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.100.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
|
|
@@ -24,8 +24,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
24
24
|
Classifier: Topic :: Utilities
|
|
25
25
|
Classifier: Typing :: Typed
|
|
26
26
|
Requires-Python: >=3.8
|
|
27
|
-
Requires-Dist: robotcode-jsonrpc2==0.
|
|
28
|
-
Requires-Dist: robotcode-runner==0.
|
|
27
|
+
Requires-Dist: robotcode-jsonrpc2==0.100.0
|
|
28
|
+
Requires-Dist: robotcode-runner==0.100.0
|
|
29
29
|
Requires-Dist: robotframework>=4.1.0
|
|
30
30
|
Provides-Extra: debugpy
|
|
31
31
|
Requires-Dist: debugpy; extra == 'debugpy'
|
|
@@ -28,8 +28,8 @@ classifiers = [
|
|
|
28
28
|
dynamic = ["version"]
|
|
29
29
|
dependencies = [
|
|
30
30
|
"robotframework>=4.1.0",
|
|
31
|
-
"robotcode-jsonrpc2==0.
|
|
32
|
-
"robotcode-runner==0.
|
|
31
|
+
"robotcode-jsonrpc2==0.100.0",
|
|
32
|
+
"robotcode-runner==0.100.0",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[project.optional-dependencies]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.100.0"
|
|
@@ -1318,11 +1318,8 @@ class Debugger:
|
|
|
1318
1318
|
level = message["level"]
|
|
1319
1319
|
current_frame = self.full_stack_frames[0] if self.full_stack_frames else None
|
|
1320
1320
|
|
|
1321
|
-
if (
|
|
1322
|
-
|
|
1323
|
-
or current_frame is not None
|
|
1324
|
-
and current_frame.type != "KEYWORD"
|
|
1325
|
-
and level in ["FAIL", "ERROR", "WARN"]
|
|
1321
|
+
if self.output_messages or (
|
|
1322
|
+
current_frame is not None and current_frame.type != "KEYWORD" and level in ["FAIL", "ERROR", "WARN"]
|
|
1326
1323
|
):
|
|
1327
1324
|
self._send_log_event(message["timestamp"], level, message["message"], "messages")
|
|
1328
1325
|
|
|
@@ -1599,10 +1596,8 @@ class Debugger:
|
|
|
1599
1596
|
else evaluate_context.variables._global
|
|
1600
1597
|
)
|
|
1601
1598
|
if (
|
|
1602
|
-
isinstance(context, EvaluateArgumentContext)
|
|
1603
|
-
|
|
1604
|
-
or self.expression_mode
|
|
1605
|
-
):
|
|
1599
|
+
isinstance(context, EvaluateArgumentContext) and context != EvaluateArgumentContext.REPL
|
|
1600
|
+
) or self.expression_mode:
|
|
1606
1601
|
if expression.startswith("! "):
|
|
1607
1602
|
splitted = self.SPLIT_LINE.split(expression[2:].strip())
|
|
1608
1603
|
|
|
@@ -1635,13 +1630,15 @@ class Debugger:
|
|
|
1635
1630
|
result = vars.replace_scalar(expression)
|
|
1636
1631
|
except VariableError:
|
|
1637
1632
|
if context is not None and (
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1633
|
+
(
|
|
1634
|
+
isinstance(context, EvaluateArgumentContext)
|
|
1635
|
+
and (
|
|
1636
|
+
context
|
|
1637
|
+
in [
|
|
1638
|
+
EvaluateArgumentContext.HOVER,
|
|
1639
|
+
EvaluateArgumentContext.WATCH,
|
|
1640
|
+
]
|
|
1641
|
+
)
|
|
1645
1642
|
)
|
|
1646
1643
|
or context
|
|
1647
1644
|
in [
|
|
@@ -52,7 +52,6 @@ def set_server(value: "DebugAdapterServer") -> None:
|
|
|
52
52
|
|
|
53
53
|
@_logger.call
|
|
54
54
|
def wait_for_server(timeout: float = 10) -> "DebugAdapterServer":
|
|
55
|
-
|
|
56
55
|
start_time = time.monotonic()
|
|
57
56
|
while get_server() is None and time.monotonic() - start_time < timeout:
|
|
58
57
|
time.sleep(0.005)
|
|
@@ -75,13 +74,6 @@ async def _debug_adapter_server_async(
|
|
|
75
74
|
) -> None:
|
|
76
75
|
from .server import DebugAdapterServer
|
|
77
76
|
|
|
78
|
-
hidden_tasks = os.environ.get("ROBOTCODE_DISABLE_HIDDEN_TASKS", "0")
|
|
79
|
-
hide = hidden_tasks == "0"
|
|
80
|
-
|
|
81
|
-
if hide:
|
|
82
|
-
current_thread = threading.current_thread
|
|
83
|
-
setattr(current_thread, "pydev_do_not_trace", True)
|
|
84
|
-
|
|
85
77
|
async with DebugAdapterServer(
|
|
86
78
|
mode=mode,
|
|
87
79
|
tcp_params=TcpParams(addresses or "127.0.0.1", port),
|
|
@@ -93,7 +85,7 @@ async def _debug_adapter_server_async(
|
|
|
93
85
|
await server.serve()
|
|
94
86
|
|
|
95
87
|
|
|
96
|
-
def
|
|
88
|
+
def _debug_adapter_server(
|
|
97
89
|
on_config_done_callback: Optional[Callable[["DebugAdapterServer"], None]],
|
|
98
90
|
mode: ServerMode,
|
|
99
91
|
addresses: Union[str, Sequence[str], None],
|
|
@@ -186,7 +178,7 @@ def run_debugger(
|
|
|
186
178
|
app.verbose("Start robotcode debugger thread")
|
|
187
179
|
|
|
188
180
|
run_as_debugpy_hidden_task(
|
|
189
|
-
|
|
181
|
+
_debug_adapter_server,
|
|
190
182
|
config_done_callback,
|
|
191
183
|
mode,
|
|
192
184
|
addresses,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.99.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/dap_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/__init__.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/cli.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/client.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/run.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/launcher/server.py
RENAMED
|
File without changes
|
{robotcode_debugger-0.99.0 → robotcode_debugger-0.100.0}/src/robotcode/debugger/listeners.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|