5 Debugger Implementation Details

The following classes in the PUP framework were used in implementing debugging support in charm.

The code below shows a simple class declaration that includes a pup method.

  class foo {
   private:
    bool isBar;
    int x;
    char y;
    unsigned long z;
    float q[3];
   public:
    void pup(PUP::er &p) {
      p(isBar);
      p(x);p(y);p(z);
      p(q,3);
    }
  };



Subsections

November 07, 2009
CharmDebug Homepage
Charm Homepage