spyder-kernels icon indicating copy to clipboard operation
spyder-kernels copied to clipboard

[WIP] PR: Connect console and ipdb kernels

Open ccordoba12 opened this issue 5 years ago • 0 comments

Given that I couldn't find a way to use a Pdb instance from the console kernel to start an IPdb one, we have to switch to a different approach:

  1. Start the IPdb kernel from the console kernel and pass the connection info of the second one to the first one, once the user wants to start a debugging session, or with settrace and post_mortem.
  2. Connect the IPdb kernel to the console by using a kernel client that loads the connection info passed in step 1.
  3. Use a Pdb proxy to interact with the Pdb instance present in the console kernel. This proxy sends Pdb commands written by the user in the IPdb kernel through the kernel client created in step 2.

ccordoba12 avatar Oct 01 '18 02:10 ccordoba12