I'm not sure what the pattern of behaviour is but some programs - notably simple rack.ru based ones running in thin - can't easily be debugged. When a breakpoint is tripped, no source is available
Note this isn't the same as this other S.O. [issue][1]
[1]: In ruby, why does my IRB interactive debugging session always say "No sourcefile available" session-always-say-no-sourcefile