[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Debuging problem



Dear David Bradley,

What do you mean by the trndll.dll project workspace. I have added all my created types to the CFv66.dsw workspace. Is that the workspace you meant. And if it would run a different compiled version, would the debbuger actually enter the code to the first breakpoint? I also tried to delete the .dll files in both ..\Trnsys16\UserLib\ReleaseDLLs and  ..\Trnsys16\UserLib\DebugDLLs and rebuild them.

Thanks for you rapid answer
Max Werlein




Date: Mon, 8 Sep 2008 10:09:20 -0500
From: bradley@tess-inc.com
To: maxwithhat@hotmail.com
CC: trnsys-users@engr.wisc.edu
Subject: Re: [TRNSYS-users] Debuging problem

Max,
 If you are able to, try to add your Type to the TRNDll.dll project workspace instead of having it in its own workspace. When the TRNDll.dll is in its "release" mode (the way that it is distributed), it loads external DLLs from the ..\Trnsys16\UserLib\ReleaseDLLs directory and when it is in its "debug" mode, it loads them from ..\Trnsys16\UserLib\DebugDLLs. When you run from the debugger, it might be loading a different compiled version of your Type than you think.
Kind regards,
 David

Max Werlein wrote:
Dear TRNSYS users,

I created a type, using various differential equations. The modell work well while I simulated it in the Simulation Studio. Now while I try to debug the type (because at a certain timestep there is a problem of convergance) using the same .dck file as before there appears a problem after a return1 line. Thus the control is returend to transys and then an error occurs, saying the the external dll was not linked. This seems absurd since the simulation workes perfectly well while executed in the Simulation Studio.

Thanks in advance

max


Express yourself instantly with MSN Messenger! MSN Messenger

_______________________________________________ TRNSYS-users mailing list TRNSYS-users@cae.wisc.edu https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users

-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      2916 Marketplace Drive - Suite 104 
Partner                            Madison, WI 53719 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley@tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************


Express yourself instantly with MSN Messenger! MSN Messenger