[hlcoders] GoldSource client dll unloaded when debugging

2014-12-18 Thread Sam Vanheer
When i start our GoldSource client dll through Visual Studio 2012 with a debugger attached, the client dll is unloaded right after being loaded. The stack trace is as follows: () Unknown [Frames below may be incorrect and/or missing] client.dll!AlertMessage(ALERT_TYPE atype, char * s

Re: [hlcoders] GoldSource client dll unloaded when debugging

2014-12-18 Thread Dominik Tugend
Maybe someone else can see the root of the problem from that StackTrace, I can't. In general I'd recommend you the Debugging Tools for Windows (i.e. WinDbg): http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063.aspx Check the "As a standalone tool set" entry there. Also please post m

Re: [hlcoders] GoldSource client dll unloaded when debugging

2014-12-18 Thread Dominik Tugend
Hello I tried with a freshly compiled mod both with WinDbg and VS 2010 Express Debugger. For me the client.dll is only loaded once on startup and not unloaded before the game is closed. As I said earlier, please post your Debugging Configuration Properties of the active configuration you use in V