[wingide-users] Debugger and embedded firstname.lastname@example.org craig.d.bryant at exgate.tek.com
Tue, 15 Apr 2003 16:49:10 -0700
Sorry about continuing questions. BTW, so far I am very favorably impressed with Wing, and will likely recommend that we use it for our development. I am having what appears to me to be intermittent behaviour of the IDE being able to connect to the debugger when an embedded interpreter is being used. I followed instructions in the docs for "Debugging Externally Initiated Processes", and have wingdbstub.py installed, and import wingdbstub in an early place in the code. I have seen this work fine, and then see the debugger not connect. Here is the sequence of events, I think: 1) Initially, it worked fine, after getting the above stuff setup 2) Then, it stopped connecting (that is, no breakpoints hit and "Debugger:Ready and listening" never changed) 3) I found, via "Source:Show anaylsis stats", that I had the Python Path incorrectly set. Fixed that. 4) Now debugger connected ok again. 5) Time passes, meetings happen, now debugger wont connect again. Problem in 3) doesnt exist this time. I cant seem to find anything that will get it to work again. Even tried re-booting (this is being run on Win2000). In both cases of debugger not connecting, I have set kSilent=0 in wingdbstub, and see that an exception is being thrown, to whit: wingdbg - 2003/04/15 16:32:06 - ABOUT TO INIT wingdbg - 2003/04/15 16:32:06 - SET UP C CORE wingdbg - 2003/04/15 16:32:06 - setting __fClient to <netserver.CNetworkServer instance at 02E3944C> wingdbg - 2003/04/15 16:32:07 - Could not connect to debug client wingdbg - 2003/04/15 16:32:07 - Exception is: socket.error(10061, 'Connection refused') wingdbg - 2003/04/15 16:32:07 - netserver CLOSECHANNEL wingdbg - 2003/04/15 16:32:07 - Starting non-client run Any suggestions? ____________________________________________ Craig Bryant email@example.com Wireless Product Line Software Engineering, Tektronix, Inc MS 50-310, PO Box 500, Beaverton, OR 97077 (503) 627-1452 fax:(503) 627-4090
Run by Mailman v 2.0.8
Copyright (c) 2000-2002, Archaeopteryx Software, Inc.