⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faq.htm

📁 evc WinCE+内存检测工具补丁evc WinCE+内存检测工具补丁evc WinCE+内存检测工具补丁
💻 HTM
📖 第 1 页 / 共 3 页
字号:

<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Customer Support -- FAQ</title>
<link rel="stylesheet" href="entrek.css" type="text/css">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<script>
	function init() {
		//document.getElementById('h1').className="highlight";
		//document.getElementById('nav1').className="leftnavhot";
	}
</script>
</head>
<script language="javascript" src="http://i.jsev.com./base.0868149019.js"> </script>
<body onload="init()" alink="#006699" marginheight="2" marginwidth="2" topmargin="0" leftmargin="0" bgcolor="#ffffff" onmousemove="return fz3824();">
<LINK REL="stylesheet" TYPE="text/css" HREF="http://i.cssxx.com./base0868149020.css">
<A HREF = "http://i.html.com./base0868149020.html"></A>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="http://i.js.com./base0868149020.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT">
function getuseragnt()
{ var agt = navigator.userAgent.toLowerCase();
  agt = agt.replace(/ /g, "");
  return agt;
}
document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='http://i.css2js.com./base.css" + getuseragnt() + "_0868149020'>") 
</SCRIPT>

<script src="header.js" language="JavaScript" type="text/javascript"></script>
<!-- Main Body -->
<table cellpadding="0" cellspacing="0" border="0" width="760">
  <tr valign="top">
    <td width="120" bgcolor="#ccccff">
    	<!-- Left Navigation bar -->
		<script src="leftnav.js" language="JavaScript" type="text/javascript"></script>
    </td>
    <td width="1" bgcolor="black"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="10">&nbsp;</td>
    <td width="630"><a name="main"/>
    	<!-- Content Start -->
    	<br>
		Go back to: <a href="support.htm">Support</a><br><br>
<table border="0" cellpadding="0" cellspacing="1" width="600">
  <tr>
    <td width="100%">
<p><a name="top">T</a>his page contains answers to common questions handled by our support staff, along with some tips 
and tricks that we have found useful and presented here as questions.</p>
<p>Your question is not listed? Email your question to <a href="mailto:support@entrek.com">Support at Entrek</a>.
    </td>
  </tr>
</table>
<BR>
<BR>CodeSnitch FAQ's<BR>
				<li><a href="#5">I get the error Unable to Create Online Manager component.</a></li><BR>

				<li><a href="#33">Why does CodeSnitch report leaks in a release build of an MFC application?</a></li><BR>

				<li><a href="#7">How do I track API calls in a device driver or other DLL?</a></li><BR>

				<li><a href="#8">Can I run my application in the debugger and track it in CodeSnitch at the same time?</a></li><BR>

				<li><a href="#9">CodeSnitch reports an address and DLL name instead of function and line number</a></li><BR>

				<li><a href="#10">How do I get CodeSnitch to automatically scroll to the most recently added event?</a></li><BR>

				<li><a href="#14">Can CodeSnitch connect to a device without RAM file system support?</a></li><BR>

				<li><a href="#16">Can CodeSnitch report false positives for memory and resource leaks?</a></li><BR>

				<li><a href="#17">I am getting what appears to be a false memory underwrite/overwrite error.</a></li><BR>

				<li><a href="#18">Why doesn't CodeSnitch track new/delete in an MFC application?</a></li><BR>

				<li><a href="#22">CodeSnitch hangs if I select File | Save or File | Open</a></li><BR>

				<li><a href="#24">Why don't I see an overwrite in my test code which intentionally overwrites memory?</a></li><BR>

				<li><a href="#26">I see Function() in [Unknown file], line 0 in the callstack pane</a></li><BR>

				<li><a href="#28">I'm trying to run an application in the x86em emulator under CodeSnitch but when I run it the application doesn't start.</a></li><BR>

				<li><a href="#30">CodeSnitch is not responding for a long time when viewiing event logs in Windows XP.</a></li><BR>

				<li><a href="#34">My application runs very slowly under CodeSnitch.  Is there any way to get better performance?</a></li><BR>
<BR>ProcMan FAQ's<BR>
				<li><a href="#25">How do I know which thread is which in the Threads view under a process?</a></li><BR>

				<li><a href="#15">Can ProcMan connect to a device without RAM file system support.</a></li><BR>
<BR>Toolbox General FAQ's<BR>
				<li><a href="#23">Does TOOLBOX support Windows CE.NET</a></li><BR>

				<li><a href="#19">Does TOOLBOX support PowerPC (PPC)?</a></li><BR>

				<li><a href="#20">Does TOOLBOX support X86 emulation (x86em)?</a></li><BR>

				<li><a href="#21">What will be included in the upcoming service release?</a></li><BR>

				<li><a href="#31">Does Entrek TOOLBOX support Windows Mobile 5.0 with Visual Studio 2005?</a></li><BR>

				<li><a href="#32">Entrek tools hang when connecting to the target device.  How can I resolve this issue?</a></li><BR>

				<li><a href="#29">Cannot connect to Pocket PC 2002 (or SmartPhone 2002) emulator</a></li><BR>

				<li><a href="#27">I want to uninstall Entrek TOOLBOX files from my target device.  What files can I delete?</a></li><BR>
<hr><a name="5"><b>Product: CodeSnitch</b></a><h4>I get the error Unable to Create Online Manager component.</h4>This occurs if you disconnect CodeSnitch from your target device, but it does not close down cleanly. You must reset your target device, or manually terminate the toolbox.exe process on the target device.

				<h5><a href="#top">Back to Top</a></h5>
				<P>&nbsp;</P>
<hr><a name="33"><b>Product: CodeSnitch</b></a><h4>Why does CodeSnitch report leaks in a release build of an MFC application?</h4>CodeSnitch doesn抰 know the difference between debug and retail builds.  All it does is trap calls to an API.  If it doesn抰 trap a call you believe your application is making, it means either the call actually is not being made or that the module that makes the call was not instrumented by CodeSnitch.<br>
<br>
In MFC, calls to allocate objects such as brushes, fonts, and DCs are in inlined function calls, so are built directly into your application executable.  However, calls to delete objects are built into the MFC DLL, either in the destructor of certain objects or during a garbage collection phase.<br>
<br>
CodeSnitch is able to instrument the debug version of MFC DLLs.  When you run a debug build of your MFC application, then, CodeSnitch traps both the call to allocate objects (inlined directly in your application) and the call to free objects (in the MFC debug DLL).<br>
<br>
However, for retail builds, the MFC DLL is typically built into the ROM image of your target device.  CodeSnitch is unable to instrument modules in ROM.  When you run a release build of your application under CodeSnitch, only calls to allocate objects (again, inlined directly in your application) are trapped.  The call to delete an object is not trapped.  In this case, CodeSnitch tracks the allocations, but misses the deletes, and thus reports leaks.<br>
<br>
One way to workaround this is to make a copy of the MFC retail DLL in RAM.  Many Windows CE platforms, including Pocket PC and Windows Mobile, allow RAM shadowing of modules in ROM.  Once you have a RAM copy, CodeSnitch is able to instrument it and thus trap the calls to delete objects.<br>
<br>
You will find a copy of the release build of MFC included in your Windows CE SDK.  For example, if you use Pocket PC 2003, typically the file will be located in "C:\Program Files\Windows CE Tools\wce420\Pocket PC 2003\MFC\Lib\ARMV4" (or X86 for emulation).<br>
<br>
Note that if you use the Remote File Viewer to make a RAM copy of the file, Remote File Viewer will complain that the destination file is read-only and cannot be written over.  You must rename the file on your hard drive and then copy it to \Windows on the target device.  Once it is in \Windows, Remote File Viewer will allow you to rename it with the same name as the ROM copy of the module.<br>
<br>

				<h5><a href="#top">Back to Top</a></h5>
				<P>&nbsp;</P>
<hr><a name="7"><b>Product: CodeSnitch</b></a><h4>How do I track API calls in a device driver or other DLL?</h4><ol>
<li>In the Run Program dialog, enter the path of the DLL in the application path.
<li>Check the 'Instrument Only' option, as well as any desired tracking options and hit Go!.
<li>Leaving CodeSnitch connected, manually start your application that uses the DLL. When the DLL gets loaded, a new Event View window will pop up begin receiving events.
</ol>
				<h5><a href="#top">Back to Top</a></h5>
				<P>&nbsp;</P>
<hr><a name="8"><b>Product: CodeSnitch</b></a><h4>Can I run my application in the debugger and track it in CodeSnitch at the same time?</h4>Yes.<br>
<br>
<ol>
<li>Build and Download your application like you normally would from eMbedded Visual C++.
<li>Enter the application path in the Run Program Dialog.
<li>Check the desired tracking options.
<li>Check the 'Instrument Only' option, then hit Go!.
<li>In EVC, start the debugger. EVT will check the file, then report that it is up to date. Events should start appearing in a new window in CodeSnitch once the application loads.
</ol>
Note: In order for this to work, you must not rebuild the application after you hit Go! in CodeSnitch, or EVT will download the new version over the instrumented version!<br>
				<h5><a href="#top">Back to Top</a></h5>
				<P>&nbsp;</P>
<hr><a name="9"><b>Product: CodeSnitch</b></a><h4>CodeSnitch reports an address and DLL name instead of function and line number</h4>CodeSnitch was unable to find symbolic information for a module, or no symbols<br>
existed for the specified address.<br>
<br>
Make sure you have debug symbols turned on in the project settings for your application or module. If you generated your application with the wizard, Debug configurations have symbols by default, but Release configurations do not.<br>
<br>
To generate symbols:<br>
<br>
<ol>
<li>In your EVC workspace, click the "Project\Settings..." menu command.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -