[wingide-users] Bug: cProfile.Profile doesn't make stats
Wing IDE Support
support at wingware.com
Mon Dec 16 13:51:02 EST 2013
On 12/15/13 1:36 PM, Joao Matos wrote:
> Wing IDE Support <support <at> wingware.com> writes:
>> On 8/6/10 2:14 PM, cool-RR wrote:
>>> I came across a bug. I tried running cProfile from the shell (both debug
>>> probe and regular shell.) When I do `cProfile.run('6**6**6')` it raises
>>> some exception when trying to create stats after the run:
>> This is an odd one. It works in the debugger but not in the shell or
>> probe. We'll need to probably dig into the details of cProfile. This
>> goes on our TODO list.
> I'm using WingIDE 101 v5.0.0-1(rev 30231) and just got the same problem.
> Any ideia how to fix it?
I've confirmed that this is still a bug and is due to how the Python
Shell is set up. I'll look into possibly fixing it. The workaround is
to run python from the command line.
More information about the wingide-users