On 28-Sep-2008, David Bateman wrote:
| 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?
I applied the changeset.
Setting breakpoints in class methods worked for me, but not class
constructors. I think the following change should fix that problem.
Thanks,
jwe