Contents Index Handling MobiLink server errors with .NET Writing .NET synchronization logic

MobiLink Synchronization User's Guide
  Writing Synchronization Scripts in .NET
    Running .NET synchronization logic

Debugging .NET synchronization logic


The following procedure describes one way you can debug your .NET scripts using Microsoft Visual Studio .NET.

To debug .NET scripts

  1. Compile your code with debugging information turned on:

  2. Load MobiLink in Microsoft Visual Studio.

    For example, type the following partial command line:

    devenv /debugexe %asany9%\win32\dbmlsrv9.exe -c ...

    This causes dbmlsrv9.exe to appear in the Solution Explorer window.

  3. Set up Microsoft Visual Studio for debugging .NET code:

  4. Using Visual Studio, set break points in your .NET source code.

  5. Start MobiLink from the Debug menu or using F5.

  6. Perform a synchronization that causes the code with a breakpoint to be executed by MobiLink.


Contents Index Handling MobiLink server errors with .NET Writing .NET synchronization logic