[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugger problems
From: |
Ryan Rusaw |
Subject: |
Re: Debugger problems |
Date: |
Tue, 26 Feb 2008 21:47:49 -0600 |
When I ported my Octave DBGP debugger to the object branch I used the
doc_string() function to "load" the function before adding the break
point.
On Tue, Feb 26, 2008 at 8:33 PM, John Swensen <address@hidden> wrote:
> I am starting work again on making the debugger more compatible with
> Matlab, but I think a problem was introduced when the object branch
> was checked in. Now, when I try to set a breakpoint, it tells me:
> error: octave_base_value::user_function_value(): wrong type argument
> `<unknown type>'
> error: add_breakpoint: unable to find the function requested
> However, if I first call the function, then try to set the breakpoint,
> there are no problems. So I think the problem is that somehow the new
> use of symbol_table::find_user_function (fname) behaves differently
> than how I used to do it with curr_sym_tab->lookup (fname). I looked
> through symtab.h to see if there is a member function of the
> symbol_table singleton that would first "load" the function before
> setting the breakpoint, but couldn't find anything.
>
> Any suggestions?
>
> John Swensen
>
Ryan