[MOAB-dev] question about mbzoltan

Jason Kraftcheck kraftche at cae.wisc.edu
Thu Sep 1 16:27:07 CDT 2011


On 09/01/2011 04:09 PM, Iulian Grindeanu wrote:
> Thanks Jason,
> Yes, it is working fine now;
> Also, the ProgOptions bug was probably affecting other programs too.
> (I was telling Tim that -t is default now :) for mbpart )
> 
> How did you debug it? 
> What tools do you use to read the tags when they are in memory?
> 
> Do you print or do you use gdb/ddd ?
> 

Also, as long as what you're trying to print doesn't require much processing
you can use gdb to print.  For example, if at line 100 of foo.c you want to
print the value of 'i', then just do:

(gdb) break foo.c:100
(gdb) command 1
  print i
  continue
  end




More information about the moab-dev mailing list