[Changeset] make symbol_table:; find_function also find class specific functions

David Bateman adb014 at gmail.com
Sat Sep 27 17:19:45 CDT 2008


Matlab allows thing like

help @myclass/myfunc
type @myclass/myfunc
dbstop @myclas/myfunc

to work and give the help, text and set the breakpoints in the class 
specific version of a function. The obvious change to allow this is tho 
change the symbol_table::find_function methods such that if the first 
character of the function name being looked for is "@" then it is 
assumed to be a class specific method that is requested and return that 
regardless of the arguments passed to the function.

This works for the help, type etc command and sets the breakpoints 
correctly, as dbstatus returns the positions of the newly set 
breakpoints. However the code doesn't break correctly yet in the class 
specific method, and I'm not sure why. Any ideas?

D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8608
Url: https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080928/fd265140/attachment.ksh 


More information about the Octave-maintainers mailing list