Winpdb-reborn anomalies - workaround

Dick Holmes encore1 at cox.net
Tue May 18 20:11:41 EDT 2021


In article <MPG.3b0dc4d5679da21f98968e at news.supernews.com>, encore1
@cox.net says...
> 
> I'm attempting to run winpdb-reborn, version 2.0.0.1, under MinGW. My 
> first problem is that if I enter winpdb <file name> in the directory 
> containing <file name>, winpdb can't find rpdb2.py. I assume this is due 
> to some path problem, but I don't know how to fix it.
> 
> My second problem occurs when I run winpdb from the 
> /c/Python39/Lib/site-packages directory. The program runs correctly as 
> far as I can tell, but it writes about 20-30 lines of what looks like 
> debug information to the rpdb2 console window. The ourput starts with a 
> get_namespace() call. It does this 
> after each debug action (step over, step into, etc.) I haven't been able 
> to find any way to turn off this output.
> 
> Any suggestions greatly appreciated!
> 
> Dick

I found the code that forces debug info to be printed. The tests against 
the debug flag were commented out so debug info was written 
unconditionally. In case someone needs it, the file is rpdb/utils.py; 
look for fDebug.

This doesn't fix the path problem, but I can live with that.

Dick


More information about the Python-list mailing list