PR# 12705 Debugger cannot launch application if environment variable added

Problem Report Summary
Submitter: prestoat2000
Category: Debugger
Priority: Medium
Date: 2007/05/13
Class: Bug
Severity: Serious
Number: 12705
Release: 6.0.68277
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 Solaris 10 on x86
Synopsis: Debugger cannot launch application if environment variable added

Description
Compile sample graphical application.
Right-click on Start button.
Add environment variable.
Click on OK.
Click on Step into Routine.
Debugger fails to launch system.
To Reproduce

										
Problem Report Interactions
From:prestoat2000    Date:2007/05/23    Status: Closed    Download   
Yes, I believe this is completely fixed now.  Closing report.

From:jfiat_es    Date:2007/05/23    Download   
I guess this is now really fixed in the trunk, and will be available in next release.
For now, the 6.0.6.8510, and compiling "ecdbgd" from runtime using revision >= rev#68544 should also work.
We'll wait for your confirmation before closing this bug report.

From:prestoat2000    Date:2007/05/17    Download   
I built rev 68404 on Solaris SPARC and the debugger still fails to launch
the system if the profile has any environment variables set.  I verified
that ecdbgd was compiled today and that the version in

   $ISE_EIFFEL/studio/spec/solaris-sparc/bin/ecdbgd

is identical to the version in

   $EIFFEL_SRC/C/ipc/daemon/ecdbgd

So I believe this isn't fixed yet, at least not on Solaris.
I compiled 68404 using rev 68277.

From:prestoat2000    Date:2007/05/17    Download   
I used the automatic build script:

  geant -b $EIFFEL_SRC/scripts/build.eant build_es

I first cleaned everything in sight (targets clean_es, clean_finish_freezing, etc).
I then renamed the EiffelXX directory that was created and pointed
my ISE_EIFFEL environment variable to it (in a script which sets up
my Eiffel environment, including changing PATH variable).  
I'm not at home so I can't be certain but I believe
I was using the ecdbgd executable created by the automatic build script
(and I'm assuming this build script did in fact recompile and relink
ecdbgd).

Perhaps we should just leave this open until the next official build
comes out.  I will then test this to see whether it is fixed (and if it
is, there must be something wrong with the automatic build script or the
way I invoked it).

From:jfiat_es    Date:2007/05/17    Download   
Did you recompile "ecdbgd" from the runtime $EIFFEL_SRC/C/ipc/daemon ?
You need to use this executable.
You might precise to use this one from the Preferences dialog
Debugger > Classic debugger > Debugger location : enter the full path to ecdbg executable.
(Or just copy the new executable to your studio bin folder.)



From:prestoat2000    Date:2007/05/17    Status: Analyzed    Download   
Perhaps I am not building things properly, but rev 68397 still has this
problem.  I cleaned everything in sight before I ran the automatic
build script, using the rev 68277 compiler.  Reopening report.

From:jfiat_es    Date:2007/05/14    Status: Closed    Download   
This issue is now fixed by revision rev#68299 .
Thank you for the report.