Bug 2938

Summary: Loading sessions observing multiple child processes
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Severity: enhancement CC: pmuldoon
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1632    

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
        (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.