mdbgnetcf.dll
device
run
\Windows
<drive>:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\<cpu>
edbgtl.dll
tcpconnectiona.dll
<drive>:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\<version>\<cpu>
netcfrtl.dll
netcflaunch.exe
Steps 2 & 3 typically need to be performed only once per device. Step 1 once per development / debugging PC. Step 4 needs to be performed whenever the application file(s) have changed.Getting startedOnce the preliminary tasks have been performed, we can get started debugging our application using MDbg.
mdbg.exe
mdbg>load <path>\mdbgnetcf
.NET Compact Framework extension loaded successfully.
NetCFLaunch.exe
device 169.254.2.1 6510
Connection SUCCEEDED
run "\program files\webcrawler.exe"
STOP: Breakpoint Hit288: {[p#:0, t#:0] mdbg>
You can now debug your application using the other MDbg commands. For a list of available commands, use the h[elp] or ? commands.In the coming weeks, I plan on continuing this series and talking about the other commands added by the mdbgnetcf extension and show some examples of how they can be used.Enjoy!-- DKDisclaimer(s): This posting is provided "AS IS" with no warranties, and confers no rights.