Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.33 KB

displaying-assertions.md

File metadata and controls

25 lines (22 loc) · 1.33 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Displaying Assertions | Microsoft Docs
11/04/2016
cpp-windows
article
C++
debugging [ATL], displaying assertions
assertions, displaying
debugging assertions
assertions, debugging
fa353fe8-4656-4384-a5d2-8866bc977f06
11
mikeblome
mblome
ghogen

Displaying Assertions

If the client connected to your service appears to stop responding, the service may have asserted and displayed a message box that you are not able to see. You can confirm this by using Visual C++'s debugger to debug your code (see Using Task Manager earlier in this section).

If you determine that your service is displaying a message box that you cannot see, you may want to set the Allow Service to Interact with Desktop option before using the service again. This option is a startup parameter that permits any message boxes displayed by the service to appear on the desktop. To set this option, open the Services Control Panel application, select the service, click Startup, and then select the Allow Service to Interact with Desktop option.

See Also

Debugging Tips