Hi all,

I've the following code elements:

Class1
{
  private:
    int member;
 public:
    Class1(int _initialValueOfmember); // Sets member to 
_initialValueOfMember
    int getMember();

}


The main function is:

#include <iostream>

int main(int argc, char** argv)
{
   Class1 cl1(10), cl2(20);
   std::cout<< cl1.getMember()<<std::endl;
   std::cout<< cl2.getMember()<<std::endl;
} 


How do I see the value of 'member' for cl1 and cl2 in the browser, when 
debugging with source maps in the browser? I can see the 'address' of cl1 
and cl2 as numbers.

Thanks

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to