[TRNSYS-users] debug mode in c++

keilholz, werner werner.keilholz at cstb.fr
Fri Apr 16 08:15:54 PDT 2010


Hi Rémi, 

 

This only means that TRNExe.exe itself has not been built with debug info. That is perfectly normal, do not worry about it (you can click the "Don't show this again box' in the error dialog to avoid the message). 

 

TrnExe will call TrnDll.dll, which will in turn call your DLL. 

When you set a breakpoint in your C++ dll, it should still hit it, show variable values etc. 

 

If TrnDll.dll has been built in release mode, it will look for your DLL in Userlib\ReleaseDlls, otherwise in .\DebugDlls. Just make sur your compiler produces your DLL at the right spot (under Properties/linker/Output File). 

Also make sure you run the right TrnExe.exe (under Properties/Debugging/Command) if you have several installations of Trnsys (15, 16, 17, ...) and that you start a project (.dck) that really contains your type (under Properties/Debugging/Command arguments). 

 

Werner

 

De : PERRIER Rémi 226004 [mailto:remi.perrier at cea.fr] 
Envoyé : vendredi 16 avril 2010 16:46
À : trnsys-users at cae.wisc.edu
Objet : [TRNSYS-users] debug mode in c++

 

Hi

 

When I try to run the debug mode in visual c++ 2005 express, I get the following error message:

"Debugging information for 'TRENExe.exe' can't be found. The binary file has not been generated with debugging information."

 

I think that I correctly entered the TRNExe.exe and deck URLs...

 

Can anyone help ?

 

Regards,

 

Rémi PERRIER

 

 

CEA INES

Laboratoire DTS / LETh

Bâtiment PUMA 3, P112

BP 332 - 50, avenue du Lac Léman - 73377 Le Bourget du Lac  FRANCE

Mobile : +33 (0)6 76 95 91 86

Email : remi.perrier at cea.fr

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100416/75be52ae/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2236 bytes
Desc: image001.jpg
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100416/75be52ae/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard01.jpg
Type: image/jpeg
Size: 28760 bytes
Desc: Clipboard01.jpg
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20100416/75be52ae/attachment-0009.jpg>


More information about the TRNSYS-users mailing list