[wingide-users] Debugging cgi script on local machine

Peter Mott peter at monicol.co.uk
Tue Oct 25 10:03:50 EDT 2005


Thanks Russ, I'll get this. Apart from anything else it's always good to be
able to do it a different way. Though I suspect my problem was setting the
debugger up wrongly! 

Peter

> -----Original Message-----
> From: Russell Warren [mailto:rwarren at picarro.com]
> Sent: 24 October 2005 18:52
> To: Peter Mott
> Cc: wingide-users at wingware.com
> Subject: RE: [wingide-users] Debugging cgi script on local machine
> 
> In the mean time, until Wing allows multiple instances and deals with
> multiple threads, I've been using winpdb/rpdb2 and to supplement my Wing
> development and it is pretty good.  You may want to give it a try to see
> if it helps with your problem:
> 
> http://www.digitalpeers.com/pythondebugger/
> 
> I'll be quite excited when Wing gets capability like this in the IDE so I
> don't need to use multiple tools.
> 
> Hopefully it is not inappropriate to link to other tools on this list?
> 
> Cheers,
> Russ
> 
> -----Original Message-----
> From: wingide-users-bounces at wingware.com
> [mailto:wingide-users-bounces at wingware.com]On Behalf Of Wingware Support
> Sent: Monday, October 24, 2005 10:27 AM
> To: Peter Mott
> Cc: wingide-users at wingware.com
> Subject: Re: [wingide-users] Debugging cgi script on local machine
> 
> 
> On Sat, 22 Oct 2005, Peter Mott wrote:
> > I'm on Windows XP SP2 running Apache on my local machine. I have Windows
> > Firewall installed and no doubt lots of other security things that I
> know
> > nothing about!  As far as I can I have ruled out that class of problems.
> 
> My guess is you're loading a page with multiple bits so there are
> many quick requests to your server, and some of them are running
> w/o debug because Wing doesn't reset back to listening for debug
> connections quickly enough.  It may help to build in some sort of
> short delay when os.environ.has_key('WINGDB_ACTIVE').
> 
> This should go away as a problem at some point in the future
> 'cause we want Wing to be able to do multiple debug sessions
> simultaneously.  For now, you're stuck working around it.
> 
> I should note that running multiple threads simultaneously will
> result in a seemingly similar problem -- only the first thread
> will be debugged.
> 
> If that doesn't help, please let me know.
> 
> Thanks,
> 
> Stephan Deibel
> 
> --
> Wingware
> Wing IDE for Python
> Advancing Software Development
> 
> www.wingware.com
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide




More information about the wingide-users mailing list