CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2015
    Posts
    450

    How to put watch on non static map within class

    Hi,

    In the following class

    class CDiaConnection
    {
    public:
    map<string, CDiaSession *> m_mSessions;
    }

    I am trying to add watch on the following map..How can i do this, as it is not global, it comes out of member functions, and it is lost..

    somehow this map gets empty after some runs and i want to see where

    thanks
    ~pdk

  2. #2
    Join Date
    May 2015
    Posts
    450

    Re: How to put watch on non static map within class

    This issue is resolved now by debug prints..Anyway comments are welcome
    I think it is not easy to debug if the class element is not static ..

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured