On Sun, Jan 13, 2013 at 2:16 PM, Thomas Kluyver <notifications@github.com>wrote:

> In IPython/core/magics/execution.py:
>
> > @@ -578,7 +582,7 @@ def run(self, parameter_s='', runner=None,
> >                          ns = {'execfile': py3compat.execfile, 'prog_ns': prog_ns}
> >                          try:
> >                              #save filename so it can be used by methods on the deb object
> > -                            deb._exec_filename = filename
> > +                            deb._exec_filename = bp_file
>
> Hmm, I can't produce a situation where _exec_filename is actually used.
> Can you? If not, I think we shouldn't change it - it seems more likely that
> it is supposed to be the name of the top-level file that's being run,
> rather than the file the breakpoint is in.
>
Yes, I think you're right. I didn't actually know what it was there for, so
I have no real reason to change it.


>  —
> Reply to this email directly or view it on GitHub<https://github.com/ipython/ipython/pull/2782/files#r2629535>.
>
>