octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #41190] dbstatus clears breakpoints set in @cl


From: Rik
Subject: [Octave-bug-tracker] [bug #41190] dbstatus clears breakpoints set in @class files
Date: Mon, 10 Feb 2014 04:46:53 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Follow-up Comment #1, bug #41190 (project octave):

Using gdb I stopped the code in the delete_breakpoint routine in pt-stmt.cc. 
I then executed


dbstop @ftp/ftp
dbstatus


And sure enough, the delete_breakpoint routine is called.  The backtrace is


#0  tree_statement_list::delete_breakpoint (this=0xadd8d0, line=48) at
parse-tree/pt-stmt.cc:193
#1  0x00007ffff7321f3d in tree_statement_list::remove_all_breakpoints
(this=0xadd8d0, file=...)
    at parse-tree/pt-stmt.cc:258
#2  0x00007ffff728d96d in octave_user_function::~octave_user_function
(this=0xaddae0, 
    __in_chrg=<optimized out>) at octave-value/ov-usr-fcn.cc:223
#3  0x00007ffff728db36 in octave_user_function::~octave_user_function
(this=0xaddae0, 
    __in_chrg=<optimized out>) at octave-value/ov-usr-fcn.cc:237
#4  0x00007ffff6e3024c in octave_value::operator= (this=0xaddd98, a=...)
    at ./octave-value/ov.h:357
#5  0x00007ffff76e9db2 in
symbol_table::fcn_info::fcn_info_rep::load_class_constructor (
    this=0xab14f0) at corefcn/symtab.cc:433
#6  0x00007ffff76ea052 in
symbol_table::fcn_info::fcn_info_rep::load_class_method (this=0xab14f0, 
    dispatch_type=...) at corefcn/symtab.cc:472
#7  0x00007ffff76ebf21 in symbol_table::fcn_info::fcn_info_rep::find_method
(this=0xab14f0, 
    dispatch_type=...) at corefcn/symtab.cc:1011
#8  0x00007ffff6e53eb0 in symbol_table::fcn_info::find_method (this=0xaddc18,
dispatch_type=...)
    at corefcn/symtab.h:1030
#9  0x00007ffff6e53f61 in symbol_table::find_method (name=...,
dispatch_type=...)
    at corefcn/symtab.h:1506
#10 0x00007ffff76ed50c in symbol_table::find_function (name=..., args=...,
local_funcs=true)
    at corefcn/symtab.cc:1285
#11 0x00007ffff73fd363 in get_user_code (fname=...) at corefcn/debug.cc:186
#12 0x00007ffff73febba in bp_table::do_get_breakpoint_list (this=0xa22a80,
fname_list=...)
    at corefcn/debug.cc:579
#13 0x00007ffff7402722 in bp_table::get_breakpoint_list (fname_list=...) at
corefcn/debug.h:97
#14 0x00007ffff73ff5f8 in Fdbstatus (args=..., nargout=0) at
corefcn/debug.cc:808
#15 0x00007ffff71a7dc9 in octave_builtin::do_multi_index_op (this=0x6b8900,
nargout=0, args=..., 
    lvalue_list=0x0) at octave-value/ov-builtin.cc:132
#16 0x00007ffff71a7c48 in octave_builtin::do_multi_index_op (this=0x6b8900,
nargout=0, args=...)
    at octave-value/ov-builtin.cc:100
#17 0x00007ffff7299a42 in octave_value::do_multi_index_op
(this=0x7fffffffc510, nargout=0, 
    idx=...) at octave-value/ov.cc:1353
#18 0x00007ffff730524a in tree_identifier::rvalue (this=0x7d6c10, nargout=0,
lvalue_list=0x0)
    at parse-tree/pt-id.cc:97
#19 0x00007ffff7305c47 in tree_identifier::rvalue (this=0x7d6c10, nargout=0)
    at parse-tree/pt-id.h:109
#20 0x00007ffff7305472 in tree_identifier::rvalue1 (this=0x7d6c10, nargout=0)
    at parse-tree/pt-id.cc:121
#21 0x00007ffff7300baa in tree_evaluator::visit_statement
(this=0x7ffff7dd3f18, stmt=...)
    at parse-tree/pt-eval.cc:753
#22 0x00007ffff7321afc in tree_statement::accept (this=0x7d6c90, tw=...)
    at parse-tree/pt-stmt.cc:178
#23 0x00007ffff7300e16 in tree_evaluator::visit_statement_list
(this=0x7ffff7dd3f18, lst=...)
    at parse-tree/pt-eval.cc:803
#24 0x00007ffff732211c in tree_statement_list::accept (this=0xaddc30, tw=...)
    at parse-tree/pt-stmt.cc:291
#25 0x00007ffff7723b2d in main_loop () at corefcn/toplev.cc:593
#26 0x00007ffff6e2ecdb in octave_execute_interpreter () at octave.cc:888
#27 0x0000000000402b69 in main (argc=9, argv=0x7fffffffc9c8) at
main-cli.cc:42




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41190>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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