The following specific syntaxes are valid in Java mode.
Execute command when source line_number is reached.
Execute command when file_name.line_number is reached.
Execute command when class_name.method_name is called.
Execute command when class_name.method_name([parameters]) is called.
class_name is the name of a Java class, using either the package path (using period (.) as a qualifier; for example, test1.extra.T1.Inner) or the full path name (preceded by a pound sign (#) and using slash (/) and dollar sign ($) as qualifiers; for example, #test1/extra/T1$Inner). Enclose class_name in quotation marks if you use the $ qualifier.
file_name is the name of a file.
line_number is the number of a source code line.
method_name is the name of a Java method.
parameters are the method’s parameters.
For a list and the syntax of all events, see Setting Event Specifications.
See wheni Command for executing commands on given low-level event.