Le réseau pour les développeurs > Forums - Accueil > Visual C++ General > Watching for change...memory window?
Poser une questionPoser une question
 

TraitéeWatching for change...memory window?

  • mercredi 4 novembre 2009 16:55chris dryson Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    I'm trying to debug some legacy unmanaged C++ code. I've chased it to an iterator (over a vector which implements a selection list), whose owner member becomes zeroed after a call to CDocument::UpdateAllViews.

    In order to chase this sort of problem it would be useful to watch the content of the owner member as I step through other code pieces in which it is out of scope. I was hoping the memory window might provide this from the description at http://msdn.microsoft.com/en-us/library/3bw53t5c(VS.80).aspx
    But how exactly do I create/see a memory window? It doesn't appear on View (>Other Windows).

    Or, any other way to tackle this kind of problem? (in general, trying to find where in a complex calling sequence a particular variable is getting modified)

Réponses

Toutes les réponses