You are creating a Universal Windows Platform (UWP) app by using Microsoft Visual Studio 2015. You discover that the app uses more memory than expected. You suspect that a method named Method1 is consuming most of the memory. You need to identify the changes in memory that are a direct result of executing Method1.
What should you do?
A. From Visual Studio, set a breakpoint on the method and immediately after the method.Fromthe Diagnostic Tools, clickTake Snapshotwhen each breakpoint is hit.
B. From the Debug tab in Visual Studio, clickStart Diagnostic Tools Without Debugging,selectApplication Timeline,and then clickStart.
C. From the Windows Performance Analyzer, record the memory consumption.
D. From Windows Performance Monitor, create a Data Collector Set (DCS). Start the DCS, run the app, and then stop the DCS.
Answer: A
You develop a Universal Windows Platform (UWP) app that is available in the Microsoft Store.
Some users report that the app occasionally crashes. You review the health reports from the Windows Dev Center dashboard and you discover that there are no Failure logs for the app.
You need to ensure that the app failure information is available in the health reports from the Windows Dev Center dashboard. What should you do before you republish the app?
A. Create a custom logging event in the app.
B. Create a Windows Push Notification Services (WNS) service, and then add the cloud service URI to the client application.
C. Create a new app package that includes the .pdb symbol files.
D. Enable the code generation capability, and then create a new app package.
Answer: C
No comments:
Post a Comment
Note: only a member of this blog may post a comment.