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)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 52836 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

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