Suppose I saw in debugger that this
value for some instance is
{MyClass@6164}
Now, how to set a breakpoint in some method and set its condition so that is stops only if this
is the same?
You can use a conditional breakpoint.
Put a condition where you evalute this.hashCode() == HASHCODE
. You can get the HASHCODE
using the Evaluate Expression feature.
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With