Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Problem of debugging event handler functions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Massoud77@gmail.com  
View profile  
 More options Oct 20, 8:59 am
From: "Massou...@gmail.com" <massou...@gmail.com>
Date: Tue, 20 Oct 2009 05:59:13 -0700 (PDT)
Local: Tues, Oct 20 2009 8:59 am
Subject: Problem of debugging event handler functions
Hello,
I have written a script to respond to mouse clicks:

class test(java.lang.Object):
        def init(self):
                graphevents.clickNode= self.mouseClick

        def mouseClick(self,_node):
                self.myFunction()

        def myFunction(self)
                print "ok until here"
                # making an error:
                pprint "ex. of a bad command: pprint instead of print"
                # other lines...

The problem is that Guess doesn't show any error message for the 3rd
line of myFunction. It just stops working and doesn't execute the
lines after.
So it's impossible to debug my functions.

Any idea?
Thanks,
Massoud


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google