First time here? Check out the FAQ!
0

How do I control WingIDE's multithreaded debugging?

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?

Philip Bloom's avatar
36
Philip Bloom
asked 2017-05-15 17:39:00 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2019-03-13 10:16:48 -0500
edit flag offensive 0 remove flag 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
add a comment see more comments

1 Answer

1

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.

Philip Bloom's avatar
36
Philip Bloom
answered 2017-05-16 16:55:00 -0500
edit flag offensive 0 remove flag delete link

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
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer