I have a batch job where the bulk of the work is done in a super class, with subclasses implementing just a few methods. When I try to use the offline debugger to debug the super class, it doesn't attach to the correct file, even though the logs are reporting the correct location for which method it entered.
Implement Database.batchable in an abstract super class, and add a protected abstract method to be implemented by subclass.
Implement subclass and method.
Add a checkpoint in the execute method in the superclass.
Try to replay the log, the deubgger will attach to the first line it can find in the subclass, and you cant step through the superclass.