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

Re: [TRNSYS-users] debug mode in c++



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@cea.fr]
Envoyé : vendredi 16 avril 2010 16:46
À : trnsys-users@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@cea.fr

 

 

Attachment: Clipboard01.jpg
Description: Clipboard01.jpg