No, it produces the same results in the debugger as on the command line. It's just that the debugger doesn't show any unexpected or unusual conditions. All the variables are what they should be. All the return codes are good and so on. The print statement just doesn't seem to work. Actually I suspect disk buffering in some way since it works to STDOUT although I have no idea what the problem might be.

When putting a smiley right before a closing parenthesis, do you:

Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Other