amoeba commented on issue #38435:
URL: https://github.com/apache/arrow/issues/38435#issuecomment-1780397136
Hi @xshirax, sorry for the misunderstanding. I think you (and others) are
right that these GUI Python debuggers don't work out of the box. I just tried
with VSCode's Python debugger and I can't get breakpoints working. However,
adding the usual `import pdb; pdb.set_trace()` into your RPC handlers works
fine,
```python
...
def list_actions(self, context):
import pdb
pdb.set_trace() # <----- I can hit this when calling
list_actions from a Python Flight Client
return [
("hello_world", "Say Hello World."),
]
```
```
(Pdb) ll
16 def list_actions(self, context):
17 import pdb
18 pdb.set_trace()
19 -> return [
20 ("hello_world", "Say Hello World."),
21 ]
```
Someone may have to look into how these other debuggers work to see if
somethingn can be done either in their configuration or from our side to make
them work. I do think it'd be nice of this worked out of the box.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]