[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode |
Date: |
Thu, 14 Apr 2016 00:33:00 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #7, bug #47621 (project octave):
Thanks, Rik.
On closer inspection, the patch would also have failed for @class/method type
functions [the original reason for using the full fcn_file_name() instead of
name()], since the '@' wasn't the leading component.
The attached patch should be the "right" solution -- it uses "profiler_name
()" instead of the file name. I've checked that it gets the name right, and
that it doesn't introduce multiple entries. It also works @class/method:
dbstop @ftp/dir
a = ftp()
dir(a)
dbstop 29
gives
debug> dbstatus
breakpoints in @ftp/dir at lines 27 30
(file #36920)
_______________________________________________________
Additional Item Attachment:
File name: bug_47621_dbstop_implicit_file_v2.cset Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47621>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Rik, 2016/04/04
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Lachlan Andrew, 2016/04/07
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Philip Nienhuis, 2016/04/11
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Rik, 2016/04/11
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Philip Nienhuis, 2016/04/12
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Philip Nienhuis, 2016/04/12
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Rik, 2016/04/13
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #47621] dbstop LINE_# fails when in debug mode, Rik, 2016/04/13