Tuesday, November 30, 2010

Conditional breakpoints in Visual Studio

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 :

image

4.  Window breakpoint conditional will appear, and fill your condition to check your code
image

5.  Run your application, and begin to debug, base on your criterias
image

Have a nice code :D

No comments:

Hukum Tabur Tuai

Ingatlah hukum dasar ini, dalam kehidupanmu  Barang siapa yang menanam, dia pula yang akan menuai