Hi,
I have created a custom resolver in VB .net (VS2005). The resolver works ( Both Publisher and Subscriber are SQL 2005 ), but I need to be able to debug the code within the resolver. How do I do this? I have tried a number of things without success.
Any suggestions would be appreciated.
Cheers
Neil
Neil, you can open the merge agent (replmerg.exe) as a project in Visual Studio 2005, attach symbol files for your custom resolver, set a break point in your custom resolver source code, and run the agent with parameters. You will be able to trace into your resolver code from there.
To open the replmerg.exe as a project in VS2005, go to menu File->Open->File/Project, and choose the executable directly. There is a "Executable" in the dropdown list in the dialog but if it is not there, you need to install VC++ components of VS2005.
|||That fixed it.
The only other thing I had to do is in the properties of replmerg.exe I had to set the Debugger Type to "Mixed" not leave as "Auto"
Thanks for you help.
Neil
No comments:
Post a Comment