Re: Another simple(???) question [addendum]

From: Callum Gibson (callum.gibson_at_db.com)
Date: Sat Sep 15 2001 - 00:11:26 BST


bobthedancer_at_yahoo.com writes:
}Actually, I just thought of something else:  is there any way
}to disable lines of code much like disabling a breakpoint?  The
}functionality Callum mentioned allows for a single skip.  I'm
}wondering along the lines of "permanently" disabling lines of
}code.  Additionally, would it be possible to create conditional
}jumps, much like conditional breakpoints?  E.g. if x>0, jump to
}the end of the function.

Looks like you've got everyone stumped here. It looks like the C interpreter
(which ups uses in breakpoint code) understands goto statements but it
doesn't look like any support is built into ups to allow you to set an
arbitrary label and a goto to it. It should certainly be possible to add
such a feature. Maybe for someone braver than I.

(c)2001 Callum Gibson                       callum.gibson_at_db.com
Global Markets IT, Deutsche Bank, Australia       61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:34 GMT