Skip to content

Latest commit

 

History

History
45 lines (42 loc) · 1.53 KB

File metadata and controls

45 lines (42 loc) · 1.53 KB
title Displaying Assertions | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
debugging [ATL], displaying assertions
assertions, displaying
debugging assertions
assertions, debugging
ms.assetid fa353fe8-4656-4384-a5d2-8866bc977f06
caps.latest.revision 11
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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