robotcode-debugger 0.91.0__tar.gz → 0.93.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.
Files changed (22) hide show
  1. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/.gitignore +2 -0
  2. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/PKG-INFO +3 -3
  3. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/pyproject.toml +2 -2
  4. robotcode_debugger-0.93.0/src/robotcode/debugger/__version__.py +1 -0
  5. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/cli.py +7 -2
  6. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/dap_types.py +2 -0
  7. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/launcher/server.py +1 -0
  8. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/run.py +1 -1
  9. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/server.py +3 -2
  10. robotcode_debugger-0.91.0/src/robotcode/debugger/__version__.py +0 -1
  11. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/LICENSE.txt +0 -0
  12. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/README.md +0 -0
  13. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/__init__.py +0 -0
  14. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/debugger.py +0 -0
  15. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/hooks.py +0 -0
  16. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/launcher/__init__.py +0 -0
  17. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/launcher/cli.py +0 -0
  18. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/launcher/client.py +0 -0
  19. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/launcher/run.py +0 -0
  20. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/listeners.py +0 -0
  21. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/protocol.py +0 -0
  22. {robotcode_debugger-0.91.0 → robotcode_debugger-0.93.0}/src/robotcode/debugger/py.typed +0 -0
@@ -282,6 +282,8 @@ playground/
282
282
  test-results
283
283
  results.html
284
284
  report.html
285
+ log.html
286
+ output.xml
285
287
 
286
288
  # pyenv
287
289
  .python-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode-debugger
3
- Version: 0.91.0
3
+ Version: 0.93.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==0.91.0
29
- Requires-Dist: robotcode-runner==0.91.0
28
+ Requires-Dist: robotcode-jsonrpc2==0.93.0
29
+ Requires-Dist: robotcode-runner==0.93.0
30
30
  Requires-Dist: robotframework>=4.1.0
31
31
  Provides-Extra: debugpy
32
32
  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.91.0",
32
- "robotcode-runner==0.91.0",
31
+ "robotcode-jsonrpc2==0.93.0",
32
+ "robotcode-runner==0.93.0",
33
33
  ]
34
34
 
35
35
  [project.optional-dependencies]
@@ -0,0 +1 @@
1
+ __version__ = "0.93.0"
@@ -39,20 +39,23 @@ DEBUGPY_DEFAULT_PORT = 5678
39
39
  default=True,
40
40
  help="Waits until a debug client is connected.",
41
41
  show_default=True,
42
+ show_envvar=True,
42
43
  )
43
44
  @click.option(
44
45
  "--wait-for-client-timeout",
45
46
  type=float,
46
- default=10,
47
+ default=15,
47
48
  help="Timeout in seconds for waiting for a connection with a debug client.",
48
49
  show_default=True,
50
+ show_envvar=True,
49
51
  )
50
52
  @click.option(
51
53
  "--configuration-done-timeout",
52
54
  type=float,
53
- default=10,
55
+ default=15,
54
56
  help="Timeout to wait for a configuration from client.",
55
57
  show_default=True,
58
+ show_envvar=True,
56
59
  )
57
60
  @click.option(
58
61
  "--debugpy/--no-debugpy",
@@ -60,6 +63,7 @@ DEBUGPY_DEFAULT_PORT = 5678
60
63
  default=False,
61
64
  help="Enable/disable python debugging.",
62
65
  show_default=True,
66
+ show_envvar=True,
63
67
  )
64
68
  @click.option(
65
69
  "--debugpy-wait-for-client/--no-debugpy-wait-for-client",
@@ -67,6 +71,7 @@ DEBUGPY_DEFAULT_PORT = 5678
67
71
  default=True,
68
72
  help="Waits for a debugpy client to connect.",
69
73
  show_default=False,
74
+ show_envvar=True,
70
75
  )
71
76
  @click.option(
72
77
  "--debugpy-port",
@@ -303,6 +303,7 @@ class InitializeRequestArguments(Model):
303
303
  supports_memory_references: Optional[bool] = None
304
304
  supports_progress_reporting: Optional[bool] = None
305
305
  supports_invalidated_event: Optional[bool] = None
306
+ supports_a_n_s_i_styling: Optional[bool] = None
306
307
 
307
308
 
308
309
  @dataclass
@@ -395,6 +396,7 @@ class Capabilities(Model):
395
396
  supports_stepping_granularity: Optional[bool] = None
396
397
  supports_instruction_breakpoints: Optional[bool] = None
397
398
  supports_exception_filter_options: Optional[bool] = None
399
+ supports_a_n_s_i_styling: Optional[bool] = None
398
400
 
399
401
 
400
402
  @dataclass
@@ -132,6 +132,7 @@ class LauncherDebugAdapterProtocol(DebugAdapterProtocol):
132
132
  supports_exception_options=True,
133
133
  supports_exception_filter_options=True,
134
134
  supports_completions_request=True,
135
+ supports_a_n_s_i_styling=True,
135
136
  )
136
137
 
137
138
  @rpc_method(name="launch", param_type=LaunchRequestArguments)
@@ -103,7 +103,7 @@ def _debug_adapter_server_(
103
103
  asyncio.run(_debug_adapter_server_async(on_config_done_callback, mode, addresses, port, pipe_name))
104
104
 
105
105
 
106
- DEFAULT_TIMEOUT = 10.0
106
+ DEFAULT_TIMEOUT = 15.0
107
107
 
108
108
 
109
109
  config_done_callback: Optional[Callable[["DebugAdapterServer"], None]] = None
@@ -118,7 +118,7 @@ class DebugAdapterServerProtocol(DebugAdapterProtocol):
118
118
  self._disconnected_event.set()
119
119
 
120
120
  @_logger.call
121
- def wait_for_client(self, timeout: float = 5) -> bool:
121
+ def wait_for_client(self, timeout: float = 15) -> bool:
122
122
  if not self._connected_event.wait(timeout):
123
123
  raise TimeoutError("Timeout waiting for client")
124
124
 
@@ -132,7 +132,7 @@ class DebugAdapterServerProtocol(DebugAdapterProtocol):
132
132
  return self._initialized
133
133
 
134
134
  @_logger.call
135
- def wait_for_disconnected(self, timeout: float = 5) -> bool:
135
+ def wait_for_disconnected(self, timeout: float = 15) -> bool:
136
136
  self._disconnected_event.wait(timeout)
137
137
 
138
138
  return not self._connected
@@ -185,6 +185,7 @@ class DebugAdapterServerProtocol(DebugAdapterProtocol):
185
185
  supports_exception_options=True,
186
186
  supports_exception_filter_options=True,
187
187
  supports_completions_request=True,
188
+ supports_a_n_s_i_styling=True,
188
189
  )
189
190
 
190
191
  @rpc_method(name="attach", param_type=AttachRequestArguments)
@@ -1 +0,0 @@
1
- __version__ = "0.91.0"