3 ms·
I try to figure out the error condition "parent is null" or "order is placed but item count is zero" or whatever the error condition might be. Then just put a
by alkonaut 11y ago
I try to figure out the error condition "parent is null" or "order is placed but item count is zero" or whatever the error condition might be.
Then just put a conditional breakpoint and wait for it to confirm the error and break. Once there I can probably reason backwards to an earlier state that led to the error condition such as "an item must have been removed from a placed order" so again a conditional breakpoint in the remove method with the condition that the order is already placed. Rinse repeat.