Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AccessViolation C++ client VFP EXE COM server
Message
From
12/09/2013 15:02:05
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Firebird
Application:
Desktop
Miscellaneous
Thread ID:
01583049
Message ID:
01583062
Views:
46
>Rick
>Thanks for your suggestion.
>How do I get a debugger to attach to the server process?
>Jim


Under the Debug menu there's an option "Attach to process". Find your process and attach to it.

It may require some synchronization on behalf of your client if you are instantiating the engine on use. In that case, step through your code in the one debugger (Visual FoxPro debugger, or Visual Studio if your Visual FoxPro code is calling a custom DLL), and then pause at some point and switch to your other debugger which has the COM Server project and source code (compiled in Debug mode) up and running, and attach to the now running server process. Once attached you can set breakpoints, single-step, edit-and-continue, etc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform