Thursday, 19 February 2015

Calling a method when a breakpoint is hit automatically (“When Hit”) OPTION

Below is the sample Code.



Now, i want to Use When Hit option to Call     Method3()

Steps to Follows:

First Insert Break point.




Next, Right Click on the BreakPoint and select  When Hit option as shown below.



Following Window is displayed.




Calling the Method3() with curly bracs and Click on Ok Button.

And Run and see the output:




No comments:

Post a Comment