[wingide-users] Running freely in debug
Mike Driscoll
mdriscoll at co.marshall.ia.us
Thu Apr 8 13:00:27 MDT 2010
On 1:59 PM, cool-RR wrote:
> This might be a newbie question.
>
> Sometimes I write a module, and to try it out and play with it, I do
> "Evaluate" in the shell. Then I can manipulate its objects freely and
> see what happens.
>
> Problem is it's not in debug. If an exception is raised, I can't debug it.
>
> Is there a way to do what I do, just in debug?
>
> Ram.
Yes. Add a print statement at the end of your code and then put a break
statement on it. Then Wing will stop execution there and you can use the
Debug window.
--
*Mike Driscoll*
Blog: http://blog.pythonlibrary.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100408/fbac1829/attachment.html
More information about the wingide-users
mailing list