On Sat, Aug 22, 2009 at 6:17 PM, flagmino <span dir="ltr"><<a href="mailto:ray.belanger@gmail.com">ray.belanger@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
To get familiar with the debugger, I have loaded this program:<br>
<br>
import math<br>
<br>
def s1(x, y):<br>
   a = (x + y)<br>
   print("Answer from s1"), a<br>
   return<br>
<br>
def s2(x, y):<br>
   b = (x - y)<br>
   print("This comes from s2"), b<br>
   #print z<br>
   print("call from s2: "), s1(x, y)<br>
   return<br>
<br>
I am trying to debug:<br>
I press shift-F9 and F7. I end up in the interpreter where I enter s2<br>
(1, 2).<br>
<br>
>From that point if I press F7, the program restart all over.<br>
If I press Enter, the program gets out of debug mode.<br>
<br>
Please help me figuring out how I can use the dbugger. You are welcome<br>
to send a sound file if this is easier for you.<br>
<br>
Thanks<br>
<br>
ray<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a></font></blockquote><div><br>Sorry, but which debugger are you referring to?<br><br>Also, note that you're printing s1(x,y) which is returning nothing. Not sure why you want to do that, but just mentioning it. <br>
</div></div><br>