About this task
- The Enable button let you enable or disable stack pattern
support for the Java breakpoint.
- The Import... button let you import stack pattern entries
from the current thread or from an exception stack trace.
- The Append button let you append a new stack pattern entry
to the end of the list.
- The Insert button let you insert a new stack pattern entry
before the current selection.
- The Remove button let you remove the selected stack pattern
entries.
After creating a new stack pattern entry using the Append
or Insert button, you can set or change the attributes
of the stack pattern entry at the right side of the Stack Pattern
properties page. Three attributes are available for a Java breakpoint:
- Class name: let you specify the class name. This is only the short
name of the class. The package name portion is specified in the Package name
attribute.
- Package name: let you specify the package name. Select the
Equals radio button if you want the package name to exactly
match the string in the Package name field. Select the
Starts with radio button if you want the package name to start
with the string in the Package name field.
- Method name: let you specify the method name. Method signature
is not included in the method name.
You can also set the stack frame object type to one of the following:
- Declaring type: The class name and package name specify
the type that the method is declared on.
- Receiving type: The class name and package name specify
the actual type of the receiving object.
The default label of a new stack pattern entry is "*", which matches zero or more
arbitrary stack frames. When you set any of the class name, package name or method name
attributes, the entry will only match one stack frame with the given attributes.
The label of the stack pattern entry is updated when any of the attributes is modified.
The -- Top -- entry represents the top stack frame when the
breakpoint is hit. This entry cannot be modified or removed.