[TRNSYS-users] Debuging problem

Max Werlein maxwithhat at hotmail.com
Mon Sep 8 08:38:25 PDT 2008


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 at tess-inc.com
To: maxwithhat at hotmail.com
CC: trnsys-users at 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 at 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 at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

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



_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20080908/f7e84882/attachment-0005.htm>


More information about the TRNSYS-users mailing list