Bug 52836 - iOS Layout Constraint Warnings no longer displayed
Summary: iOS Layout Constraint Warnings no longer displayed
Status: CONFIRMED
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-02-27 11:18 UTC by James Housley
Modified: 2017-04-07 08:10 UTC (History)
8 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description James Housley 2017-02-27 11:18:07 UTC
When debugging iOS apps, the Output window in Visual Studio used to display any Layout Constraint Warnings, but these are no longer shown. Is this by design or a bug? We find these warnings invaluable when trying to debut layout issues.

Just for full disclosure: ideally we'd love to be able to hook into these warnings and show something in our app when they occur - this would enable any layout issues to be identified immediately rather than later when someone notices the warnings in the Output window. But first we'd just be happy to get the warnings back in the output!
Comment 1 Alan McGovern 2017-04-06 17:29:54 UTC
Pop this code in a single view application:
https://gist.github.com/alanmcgovern/8505252105ed2f4ff4969ef4e6e303c3

The system.log from that core sim device will contain this logging: https://gist.github.com/alanmcgovern/ca456dfb11441f802b52d2f2f7602731

This doesn't show up in appliation output in XS or XVS.

James, is this the output you're expecting to see?
Comment 2 Alan McGovern 2017-04-06 17:36:16 UTC
This is probably an issue with how x.ios propagates app output to the IDEs.
Comment 3 James Housley 2017-04-07 08:10:39 UTC
Yes, that's exactly what I was expecting, thanks

Note You need to log in before you can comment on or make changes to this bug.