DebuggerFontEnd: fix null reference errors on mobile targets

Need to undo this at some point for #433.