The problem has disappeared after I did something. Not sure what but possibilities include restarting Xcode.
I'm assuming that something in the debugging environment had been corrupted.
Thanks for all your help!
Topic:
Programming Languages
SubTopic:
Swift
Tags: