ipdb: use snapshot instead of self to calculate difference
ipdb: simplify LinkedSet events

Use reference set() to check if the target is reached.