Ask Your Question
0

How do I control WingIDE's multithreaded debugging?

asked 2017-05-15 17:39:00 -0500

Philip Bloom's avatar

updated 2019-03-13 10:16:48 -0500

I'm using Python 2.7.13 and Wing IDE 6.0.5-1 (rev f63b60c5c0dd) and I not infrequently have problems using the IDE simply to launch some of my multi-threaded/multi-process python applications.  Specifically, I will launch the application and it will fork a subprocess which, when Wing IDE is attached will never seem to get launched.  This only happens with the debugger, and has it so that 1/2 times I start the application, it gets stuck on launching other processes (status check tools).  The other 50% of the time it starts fine and does everything as expected.  When working on the command line alone it has worked thousands of times (since it gets used quite frequently in the office).

I am not sure if this started happening after one of the patches.  I don't remember encountering it prior to last week, which means it likely wasn't happening then.I'm currently trying disabling Debugger->Processes->Disable Multi-process debugging but I was still able to reproduce.

Are there other tools/options I can use to better control/isolate this?

edit retag flag offensive close merge delete

Comments

Obviously, the sub-processes should still launch, even if you multi-process debug enabled.  They won't be debugged unless you also turn on child process debugging.  But if something is failing even if those are off, I'd start with them off since it reduces the number of variables involved. To track this down, please set the Debug Internals Log under Debugger > Diagnostics preferences area and send the output from a failed run to support@wingware.com?  That may show us what is going on.

Wingware Support's avatar Wingware Support  ( 2017-05-15 18:06:00 -0500 )edit

Sure thing.  Collected the data and sending.

Philip Bloom's avatar Philip Bloom  ( 2017-05-16 11:49:00 -0500 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2017-05-16 16:55:00 -0500

Philip Bloom's avatar

Just for record, John got in contact with me and sent a patch that resolved the issue.  Hopefully it'll be released to the product soon.Thanks.

edit flag offensive delete link more

Comments

The fix should be included in the next Wing release

Wingware Support's avatar Wingware Support  ( 2017-05-16 17:32:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-05-15 17:39:00 -0500

Seen: 554 times

Last updated: Mar 07 '19