Can't stay attached to process for excel

I am creating python functions to use in excel with Pyxll and to debug I need to attach a process to excel but there are two errors I run into. 

  1. It is not stable, and I have to reattach the process every time. If I attach a process and run once then it will disconnect and I have to close all my workbooks, reopen and attach it again. 
  2. Normal breakpoints don't work and instead I must use breakpoint()

From reading this forum it looks like there are a lot of issues with the attach to process in PyCharm. Currently using PyCharm 2024.3.5 (Professional Edition)

0
1 comment

Hi Conor Houston ,

As a general troubleshooting step, please try updating to the latest PyCharm 2025.1.1.1 and check if the issue persists on it.
 

If updating doesn't help, please create an issue on YouTrack (https://youtrack.jetbrains.com/issues/PY) and attach all relevant information (including IDE logs from Help | Collect Logs and Diagnostic Data and screenshots / screen-cast representing the issue) for quicker resolution.

0

Please sign in to leave a comment.