octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question concerning breakpoints (in C++)


From: John W. Eaton
Subject: Question concerning breakpoints (in C++)
Date: Tue, 16 Oct 2007 15:36:02 -0400

On 12-Oct-2007, John Swensen wrote:

| There is a function in the tree_statement_list class called 
| list_breakpoints.  It is used in debug.cc in the dbstatus() function, 
| but I have a few questions about it.  In the statement tree, it appears 
| as if there is a list of breakpoints for each file.  Then, my question 
| is whether the octave_value_list returned by 
| tree_statement_list::list_breakpoints() is just a list of breakpoints in 
| a single file?

It looks like it is.

| If so, it there a more overreaching function that gives 
| a (filename,linenumber) list of breakpoint in octave, or must one walk 
| the statement tree every time to ascertain all the breakpoints?

I'm not that familiar with the code that manages breakpoints, but it
seems that they are applied to a tree_statement_list object, so they
would only apply to a single function body.  I don't see that there is
any global list of breakpoints.  I'm also not sure that this is the
best data structure for managing breakpoints, so it may change in the
future.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]