On Sat, 6 Aug 2011, Matthew Knepley wrote:

> On Sat, Aug 6, 2011 at 2:22 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> > The application is already started with -start_in_debugger. So you don't do
> > 'r run.xml'
> >
> > You place a break point at relavent locations - and then do 'c' for
> > continue
> >
> 
> Satish is right. Also, at this point you can set the arguments using
> 
>   set args run.xml

Actually the program is already started - so this can't be reset. Just set the 
arguments at start time.

mpiexec -n 4 program run.xml -start_in_debugger

[or whatever scheme is normally when the code is used without 
-start_in_debugger]

Satish

> 
> 
> > (gdb) b PetscError
> > (gdb) c
> >
> > Satish
> 
> 
> 
> 
> 

Reply via email to