Visual Studio 2005 debugging trick..

Just now, I found a trick in Visual Studio 2005 to debug pointers in better way. You can ‘,n’ in watch window where ‘n’ is number of elements to display. I think following snapshot is self explanatory..


Stay tuned.. Wave

Comments (3)

  1. Koby Kahane says:

    Yes, I love the forced array feature. Note that it is available in the Visual C++ 6.0 debugger (and possibly earlier) as well.

  2. jigarme says:


    I did not know that it also works with VC++ 6.0..

    Thanks Koby.