Google News
logo
JDB - Interview Questions
What is the syntax used to set a breakpoint?
A breakpoint can be set either on the basis of method name or the specific number of the line.
 
* To set a breakpoint on the method, the following syntax is used :

stop in Classname.MethodName  

* To set a breakpoint on the specific line, the following syntax is used :

stop at Classname: LineNumber
Advertisement