ImageWIKI
RSS

Navigation



Tags
1_2 2011 4_0 4_1 4_1_0_10 4_1_0_11 4_1_0_9 4_2 4_2_0_0 4_2_0_1 4_2_0_5 Android BlackBerry CRM 3_0 CRM 4_0 CRM Online Default Sales Profile Exchange Connector FAQ General Guides HOWTO Installation iPhone Mobile Express Private Sample SDK Server TODO troubleshooting Windows Mobile

Other Links
CWR Mobility Website
CWR Mobility Blog




Quick Search » Advanced Search »

PoweredBy
To be able to debug your own Custom Controls and Callouts you need to enable Remote Debugging on the Compact Framework.

This article shows in detail how to do that: Enable Remote Debugging.

IMPORTANT: You need the .NET Compact Framework 2.0 Service Pack 2 Redistributable because this contains a fix for a debugging issue in SP1. Thanks Tracy-Lee for figuring this out!

Once you've enabled remote debugging perform the following steps:
1. Build you code in DEBUG mode and deploy it to the \Program Files\Mobile CRM folder on your device (or emulator).
2. Start CWR Mobile CRM.
3. Select Debug -> Attach to Process from within Visual Studio.
4. As a Transport choose "Smart Device":
Image

5. Click Browse... and connect to your device:
Image

6. A list of running processes on your device will appear. Select CWRMobileCRM.exe:
Image

7. If Remote Debugging was not enabled correctly you will get this message:
Image

Make sure that you created the correct registry settings (check spelling, upper/lower case) and make sure you started CWR Mobile CRM AFTER you changed the registry settings.

If you were able to attach to the process, Visual Studio will load the debug assemblies and you can set breakpoints in your own code.

Happy debugging!

{TrackBack}

ScrewTurn Wiki version 3.0.4.560. This Wiki contains 94 pages.