#132 Two editors are opened for the same file while debugging

closed-works-for-me
Stephan Ruehl
Debugger (177)
5
2006-08-04
2005-02-02
Jan Ploski
No

Consider the following scenario:

Before I start debugging, I open a module named 'Main.pm'
in the editor and set breakpoints there. The debugging session
starts with a CGI script 'test.pl', which invokes a subroutine
from 'Main.pm'. When the breakpoint in Main.pm is hit,
another editor for 'Main.pm' opens automatically. The correct
behavior would be to bring the already open editor to the front
and center on the line about to be executed.

I guess it is a related problem that double-clicking breakpoints
(in the Breakpoints view) in this context (with two 'Main.pm'
editors open) does not bring me to the appropriate line (it does
nothing at all).

I also noticed problems with mapping lines from the Eclipse
editor to correct breakpoint locations. Specifically, the debugger
appears to stop at a comment line preceding a subroutine call
when I set a breakpoint on the call line (i.e. it seems to stop
1 line too early).

Discussion

  • Stephan Ruehl
    Stephan Ruehl
    2005-02-12

    Logged In: YES
    user_id=775841

    Opening multible edtitors for the same file:
    I cannot reproduce the problem. Could you give a more
    detailed description how to reproduce this problem ?

    double-clicking breakpoints:
    this is a different problem and is already fixed.

    mapping lines from the Eclipse editor to correct breakpoint
    locations:
    works fine on my system. Could you give a more detailed example.

    One plea from my side: Please only put one topic in one bug
    request. It makes handling much easier ... . Thanks !!!

     
  • Jan Ploski
    Jan Ploski
    2006-08-04

    Logged In: YES
    user_id=86907

    Can't reproduce - closing.

     
  • Jan Ploski
    Jan Ploski
    2006-08-04

    • status: open --> closed-works-for-me