Debugger bugfix
John Swensen
jpswensen at comcast.net
Fri Nov 21 22:07:37 CST 2008
Attached is a changeset to fix a bug I encountered in the debugger.
The problem was in the bp_table::do_get_breakpoint_list(...) function
where there is a loop over an STL iterator which calls
out_of_date_check() in each iteration. The problem occurred because
out_of_date_check(), in turn, will call
remove_all_breakpoints_in_file() when the file has changed, which
modifies the object STL map being iterated over.
So I added another set of loops to take care of processing out-of-date
breakpoints before building up the list of breakpoints for dbstatus().
John Swensen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.patch
Type: application/octet-stream
Size: 1995 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20081121/16838ea4/attachment.obj
-------------- next part --------------
More information about the Octave-maintainers
mailing list