The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Profiler for Matlab OO, Object Oriented, Event Driven Code
Replies: 1   Last Post: Jan 20, 2011 2:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Joe Burgel

Posts: 25
Registered: 12/7/04
Re: Profiler for Matlab OO, Object Oriented, Event Driven Code
Posted: Jan 20, 2011 2:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

As a follow up. Any way to set a breakpoint in an event handler? If I
broadcast an event and there's an error in one of the listener ftns,
the event announce code fails and breaks, not the handler. This makes
it pretty hard to track down errors when an event has multiple
listeners. I've solved it somewhat by passing a debug flag in the
event structure. When it's on, the object handling the event reports
out to the command line that it is currently executing. Then, if the
error happens right after that, I know where it happened. Somewhat
tedious but it works. Is there a better sltn? Thanks,

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.