none
IPackageDebugSettings::EnableDebugging method no longer prevents Windows app from suspending with latest Windows 10 fast ring versions. Bug or deliberate change? RRS feed

  • Soru

  • The IPackageDebugSettings::EnableDebugging method should according to documentation prevent apps from suspending, but with the latest fast ring updates it does not do so any more, could reproduce that on Windows 10 Version 1803 (OS Build 17133.1).

    The API still works perfectly with Windows 10 version 1709 (OS Build 16299.309).

    This method is critical for us to be able to disable app suspending, since our company (ranorex.com) supports automated UI testing of apps via UIAutomation and suspended apps can cause the automation to freeze.

    See API documentation here:
    https://msdn.microsoft.com/en-us/library/windows/desktop/hh707022(v=vs.85).aspx

    Steps to reproduce:

    1. Start a Windows app, e.g. Windows calculator
    2. Call the EnableDebugging method on the app package
    3. Minimize the app and see the app state in the Task Manager

    Observed result: the app gets suspended after being minimized, although it is in Debugging mode

    Expected result: the app is not suspended; this is what happens with the latest Windows 10 RTM release (1803).

    Is this a bug that will be fixed before the next Windows 10 RTM release?

    Regards,
    Alex

    Note: this is a deliberate copy of the following thread because it better fits into this forum

    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/98c9356b-776a-4e0b-bfd5-19eef28db9ef/ipackagedebugsettingsenabledebugging-method-no-longer-prevents-windows-app-from-suspending-with?forum=wpdevelop#55e63d73-fc39-45e9-a138-c1d0823d5704

    5 Nisan 2018 Perşembe 14:49

Tüm Yanıtlar