I need to debug my java code but only after certain processing is done and I reach a point where it faults down.
For Eg:-I am preprocessing my code and I have created a filter which would refrain from inserting into database if its size is less then 5.And I name the group which is inserted as 1,2....My problem is the number 121 has a size of 4 and its getting inserted into the database.So how should i debug so that I can start directly at 121 ignoring all the previous sequence number.I am using Eclipse IDE.
You can use conditional break points as following:
If the number is fixed always, you can put a temporary check condition for example
if(number == 121) {
continue;
}
And put a break point at continue.
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