Is certain code suppressed with iMessage Apps?

I have print statements that are not printing from my collection view controller that my messages view controller presents. Some of the print statements print, but others won't.


I also tried presenting an alert by my collection view controller from within messages view controller. The alert doesn't show.


Is some of those code suppressed by iOS? I don't get any error messages at all, except when Xcode loses connection with my iPhone connected to my Mac mini.