Bug 2938 - Loading sessions observing multiple child processes
Summary: Loading sessions observing multiple child processes
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-07-17 19:36 UTC by Mike Cvet
Modified: 2006-11-21 23:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2006-07-17 19:36:36 UTC
When loading a previous Frysk session which was observing a process group, some
of which with multiple child processes (i.e. - bash), we would like to be able
to select which children to take to the MainWindow. This way, if a previous
session watching 5 bash processes is loaded on a machine running 1000, we can
avoid (optionally) the default behaviour of taking in all 1000 bashes.
Comment 1 Mike Cvet 2006-07-24 17:01:16 UTC
Log message:
        2006-07-24  Mike Cvet  <mcvet@redhat.com>
        
        * sessions/DebugProcess.java (populateProcs): Now explicitly calls methods
        for the itemAdded and itemRemoved operations, and adding observers to the
        processes added to the main list.
        (addRemoveObservers): Added.
        (addProcs): Added.
        (addProcsMinusObserver): Added - adds procs to the main list without the
        observers.
        (addObservers): Added - explicitly adds observers to the processes in the
        process list.
        * sessions/ProcessPicker.java (checkSession): Adds processes to the process
        list without adding observers...yet.
        (pickProcs): Adds observers to the remaining selected processes after
the fact.
        
        Putting the processPicker back in.