Here I have 2 VS2005 solutions open - One for SIPXTAPI - One for my .NET project (using SIPXTAPI).
1) Make sure you are compiling SIPXTAPI with DEBUG turned on. 2) Copy SIPXTAPID.DLL and SIPXTAPID.MAP to your .NET project BIN directory. 3) Run your .NET project. Make sure it loads the Debug DLL (sipxtapiD.dll) 4) Go to the open Visual Studio instance for the SIPXTAPI solution 5) Set your sipxtapi breakpoints wherever you need 6) Select DEBUG / ATTACH TO PROCESS 7) Make sure it's attaching to NATIVE-CODE (not MANAGED-CODE) 8) Select your .NET program (that should be running) and click the ATTACH button. That's all folks ;) ----- Original Message ----- From: "Alexey Trizno" <[EMAIL PROTECTED]> To: "Daniel Sigurgeirsson" <[EMAIL PROTECTED]> Cc: "sipXtapi developer list" <[email protected]> Sent: Friday, July 13, 2007 2:34 PM Subject: Re: [sipxtapi-dev] Debugging sipxtapi > I believe that the one thing that's stopping me the most in figuring out the cause of my recording problems, is the fact that I haven't been able to debug sipxtapi (setting breakpoints etc.). This is mainly because I'm using a .NET program as a starting point, and for some reason I cannot set breakpoints inside sipxtapi (at least they are never enabled and never hit). Has anyone done this? I'm using VS.NET 2005. I have same problem with debugging... from .NET application :( -- Best regards, Alexey [ [EMAIL PROTECTED] ] _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
