allenai / allenact

An open source framework for research in Embodied-AI from AI2.
https://www.allenact.org
Other
308 stars 49 forks source link

pdb support #366

Open ShoufaChen opened 1 year ago

ShoufaChen commented 1 year ago

Problem / Question

Hi, Thanks for your awesome.

I have a question about the pdb. When I use pdb for debugging, I always met:

  File "/home/chenshoufa/anaconda3/envs/allenact/lib/python3.8/bdb.py", line 88, in trace_dispatch                                                      
    return self.dispatch_line(frame)                                                                                                                    
  File "/home/chenshoufa/anaconda3/envs/allenact/lib/python3.8/bdb.py", line 113, in dispatch_line
    if self.quitting: raise BdbQuit                                                                                                                     
bdb.BdbQuit   

Could you help me with this issue? Thanks in advance.

Lucaweihs commented 1 year ago

Hi @ShoufaChen, this is likely due to python issues with pdb when working with subprocesses. Can you the solution from this StackOverflow post and see if it works for you?