Skip to content

[WIP] PR: Connect console and ipdb kernels#52

Open
ccordoba12 wants to merge 30 commits intospyder-ide:ipdbfrom
ccordoba12:connect-kernels
Open

[WIP] PR: Connect console and ipdb kernels#52
ccordoba12 wants to merge 30 commits intospyder-ide:ipdbfrom
ccordoba12:connect-kernels

Conversation

@ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Oct 1, 2018

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 ccordoba12 added this to the v2.0 milestone Oct 1, 2018
@ccordoba12 ccordoba12 force-pushed the connect-kernels branch 2 times, most recently from 63f9c54 to 8ffbfad Compare December 27, 2018 17:25
This will allow us to get the response of other methods in the instance
@goanpeca goanpeca removed this from the v2.0.0 milestone Feb 18, 2020
@ccordoba12 ccordoba12 removed the v2.0.0 label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants