This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Insight session regression (?)


Tom Tromey wrote:
> 
> I started Insight like this:
> 
>     gdb /my/executable
> 
> Then I set things up and did some debugging.
> Finally I exited.
> 
> Then I re-ran the same gdb command line.
> Of course it just comes up in the default mode.
> If I then select /my/executable from the File menu, I expect it to use
> my old session.  However, it doesn't -- my old session is wiped out.
> 
> I think this might be a regression, but I am not certain.
> In any case I found this surprising.

I noticed that one has to explicitly select one of the sections
from the File menu (at the bottom).

We need to check if the selected file matches one of the saved
sections and use it.


> FWIW I think "gdb /my/executable" should really reload my session by
> default.
> 

I agree.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]