64 lines
2.8 KiB
HTML
64 lines
2.8 KiB
HTML
<!--
|
|
*************************************************************************
|
|
*
|
|
* File: Debug.html
|
|
*
|
|
* Description:
|
|
* Root for the "Debug" Desktop Gadget sample.
|
|
* Demonstrates the System.Debug Sidebar API.
|
|
*
|
|
* NOTE:
|
|
* The Microsoft utility 'DebugView for Windows' can be used to
|
|
* view the error message generated by the System.Debug.outputString
|
|
* in this sample. DebugView is an application that lets you monitor
|
|
* debug output on your local system, or any computer on the network
|
|
* that you can reach via TCP/IP. It is capable of displaying both
|
|
* kernel-mode and Win32 debug output, so you don't need a debugger
|
|
* to catch the debug output this gadget generates.
|
|
*
|
|
* This file is part of the Microsoft Windows SDK Code Samples.
|
|
*
|
|
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
*
|
|
* This source code is intended only as a supplement to Microsoft
|
|
* Development Tools and/or on-line documentation. See these other
|
|
* materials for detailed information regarding Microsoft code samples.
|
|
*
|
|
* THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
|
|
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
* PARTICULAR PURPOSE.
|
|
*
|
|
************************************************************************
|
|
-->
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=Unicode" />
|
|
<script language="javascript" src="js/debug.js" type="text/javascript"></script>
|
|
<link href="css/debug.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body onload="Init();">
|
|
<div id="divFileInfo">
|
|
Filename: <strong><span id="spanFilename"></span></strong><hr />
|
|
<div id="divFileContent"></div>
|
|
<span id="spanFileControls"></span>
|
|
</div>
|
|
<div id="divInstructions">
|
|
Click the wrench icon or right-click the gadget and select 'Options'
|
|
from the context menu to enter a file name and content using the gadget
|
|
settings. <br /><br />This sample throws an exception if you attempt to
|
|
save the content to a file using the specified filename and the filename
|
|
doesn't incorporate a period as a file extension separator. Otherwise, a file
|
|
with the specified filename and content will be saved to the root of the
|
|
user's gadget folder (obtained from the System.Gadget.path property).
|
|
</div>
|
|
<p id="note">NOTE: The Microsoft utility 'DebugView for Windows' can be used to
|
|
view the error message generated by System.Debug.outputString
|
|
in this sample. DebugView is an application that lets you monitor
|
|
debug output on your local system, or any computer on the network
|
|
that you can reach via TCP/IP. It is capable of displaying both
|
|
kernel-mode and Win32 debug output, so you don't need a debugger
|
|
to catch the debug output this gadget generates.</p>
|
|
</body>
|
|
</html>
|