[IronPython] Silverlight code need help (Repost)

Jimmy Schementi Jimmy.Schementi at microsoft.com
Tue Jan 12 22:52:09 CET 2010


Thanks =)

It's most likely an issue in the MyTimeToTick method. You should do some print-statement-debugging to make sure the properties you're using to compute the slider position are correct. To see the print statements, put this at the top of your file:

import sys
from Microsoft.Scripting.Silverlight import Repl
repl = Repl.Show()
sys.stdout = repl.output_buffer

... and then "print "Hello, World"" will show up in the "IronPython Console" tab.

~Jimmy



More information about the Ironpython-users mailing list