La solution est ici :
Context Operator (C/C++ Language Expressions)
When the expression evaluator encounters a symbol in an expression, it searches for the symbol in […]. With the context operator, you specify the starting point of the search and bypass the current location. You cannot specify a class, but you can specify a member function of the class.
{[function],[source],[module] } expression
{,EXAMPLE.CPP,}@301 : breakpoint at line 301 of EXAMPLE.CPP
If the source or module path includes a comma, an embedded space, or a brace, you must use quotation marks around the path […] (de préférence » plutôt que ‘, car » sera considéré comme faisant partie d’un nom de fichier !)
Astuce débugger :
Si un crash se produit après de nombreux appels, mais sytématiquement le même nombre.
Poser un point d’arrêt avec un compteur d’occurence très élevé, au moment du crash vérifier la valeur de ce compteur pour pouvoir s’arrêter juste avant la prochaine fois.
How to Not Step Into Functions using the Visual C++ Debugger Permet de mettre dans la base de registre les fonctions à ne pas prendre en compte pour le pas à pas avec F11.
Format des symboles : enter symbols in the same form used in the source code. expression that contains public symbols must use the decorated name of the symbol. You can get a listing of all names in their decorated and undecorated forms using the LINK /MAP option
If you cast to a type, the type must be known to the debugger. You must have another object of that type in your program. Types created using typedef statements are not supported.
Commentaires