[TRNSYS-users] problem with outputs and CVF

David Bradley bradley at tess-inc.com
Mon Aug 1 06:52:39 PDT 2005


Dear Antonio,
   You should be able to step through the actual lines of code (the ones 
that make sense, not the ones that are machine language). Usually when you 
end up looking at lines in hexidecimal, your debugging session has left the 
Fortran code and gotten back into TRNExe.exe OR you are trying to debug 
from the compiler when the DLL is in its release mode version. If that is 
the case, you will need to recompile TRNDll.dll in Debug mode by selecting 
the appropriate version from the Build: Set Active Configuration menu item.

If the Release / Debug problem does not solve the problem, what I would 
suggest you do is put a breakpoint on the first line of code in your 
component. You can insert a breakpoint by pressing F9 when your cursor is 
on a line of Fortran code. Then run your debugging session, launching the 
input file that is giving you a problem and the compiler should stop and 
wait when it gets to the line with your breakpoint on it. If you end up in 
the hexidecimal window before the compiler stops on your breakpoint, please 
send me an email directly (bradley at tess-inc.com) and we can work on a 
better solution.
Kind regards,
   David

At 06:53 AM 8/1/2005, Antonio Aguirre Glez. de San Pedro wrote:
>Dear David and all TRNSYS users:
>         After following your suggestions, errors 103 and range check error
>don not occur, but when I use my component in an project the outputs
>are 0, I don't know of there is a problem with the code or I`m doing
>something wrong.
>         I'm trying doing a step over with Compaq Visual Fortran 6.6, and the
>program is running step by step, but the code lines do not correspond
>to the ones in the fortran program for my new component, but a
>hexadecimal listing appears in assembling language or something like
>that. The thing is, when I run it step by step, I don't know exactly
>where I am in my fortran program, whether I am in TYPECK, RCHECK  or
>somewhere else. Is there any way I can do the step over but seeing the
>fortran program code at the same time?
>Thanks in advance:
>Antonio Aguirre Glez. de San Pedro
>
>_______________________________________________
>TRNSYS-users mailing list
>TRNSYS-users at engr.wisc.edu
>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************




More information about the TRNSYS-users mailing list