Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: darkwalk on April 01, 2006, 12:49:40 am

Title: how to watch matrix members inside class
Post by: darkwalk on April 01, 2006, 12:49:40 am
Hi:  I have a problem watching a matrix inside a class object.  For example:

class asdf{
  protected:
      int** a;
  public:
      asdf();
}

asdf:asdf(){
   //instantiate new 2D matrix
}

main(){
   asdf my_asdf;
}

When I watch my_asdf during debugging, all it gives me is this:

[-] my_asdf
          a = 0xXXXXXX

I would like to see the actual matrix pointed to by a, not the memory location.  Is there a way to do so?  I searched for a while, but cannot find anything...  Thanks for your help!