When i use Visual Studio 2005 with Visual Basic.Net, i found this function will help us to debug code (more faster base on criteria's)
And this is the steps to do it :
1. Open your project code
2. Insert breakpoint on your desire code to check
3. Right Click on your breakpoint glyph and choose condition function like this :
4. Window breakpoint conditional will appear, and fill your condition to check your code
5. Run your application, and begin to debug, base on your criterias
Have a nice code :D