Bug 207183 - Running fails silently if dll is not in PATH
Summary: Running fails silently if dll is not in PATH
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: cdt-launch-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 11:32 EDT by Heiko Selber CLA
Modified: 2020-09-04 15:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Selber CLA 2007-10-23 11:32:36 EDT
Build ID: M20070921-1145

Steps To Reproduce:
I use CDT with cygwin on Windows XP. I am trying to run a cppunit test case, for example: http://pantras.free.fr/articles/helloworld.html

The version of cppunit that comes with cygwin is broken, therefore I got the cppunit sources (1.12.0) from sourceforge, compiled and installed to the default directory /usr/local (relative to cygwin root).

This results in the dll (which is in /usr/local/bin) not being in PATH, which triggers the problem:

When I build the test case and try to run it in Eclipse, nothing happens: The program does not run; the console merely says "<terminated>"; the error log is empty.

I would expect Eclipse to give me an error message here.

For example, when I run at the windows command prompt, I get an error message, saying that cygcppunit-1-12-0.dll cannot be found.

More Information:
When I add "D:\Programs\cygwin\usr\local\bin" to PATH and restart Eclipse, the unit test runs.
Comment 1 Marc-André Laperle CLA 2010-01-19 20:42:22 EST
I think this is a major issue. It confuses beginners and anyone expecting the "missing dll" message.