I'm using Eclipse with CFE and Adobe's Eclipse Plugins.
 
My web server configuration is CF8 Enterprise (fully-licensed) on Win
2003/IIS.  I'm running two web sites on that server:
acelinkdev.evansville.edu and acelinktest.evansville.edu.  Each site has
its own IP address.  I'm not using host headers for either of these
sites.
 
CF8 is installed as a single server instance.  I have not yet
re-installed CF to run in several instances.  I'll get around to that
after classes begin this fall.  Therefore, one instance of CF8 is
serving these two web sites.
 
My "/" mapping, in the CF admin area points to the web site root for
acelinkdev.evansville.edu.  The acelinktest.evansville.edu web site uses
CF8's per-application mappings where "/" is mapped to the web site root
of acelinktest.evansville.edu.
 
acelinkdev.evansville.edu is about as plain as can be, regarding IIS
settings.  acelinktest.evansville.edu, however, uses IIS to enforce a
SSL connection.  In IIS, I set a custom 403.4 script that will redirect
the browser to the https location of the requested URL.  This works as
expected.
 
In Eclipse, I created a few projects in my local workspace.  I then
point to the web server by adding a remote folder to the project.  This
way, my project is stored locally, however, it "uses" the remote web
server folders.
 
I created two RDS connections and was able to view the datasources for
each connection (although they point to the same databases), therefore,
I know the RDS connections are working.  I can also successfully test
the connection and debugger for both web sites.
 
Line-level debugging has been enabled on the CF admin pages.
 
I am able to successfully debug acelinkdev.evansville.edu, using
Eclipse.  It breaks on all breakpoints and I can view all variables.
 
I then created a debug profile for acelinktest.evansville.edu.  The
settings are exactly the same as acelinkdev.evansville.edu, except for
the path information.
 
I am able to start a debugging session, within Eclipse, and I can
successfully run a page, in the browser, with *no* breakpoints.
 
However, as soon as I add a breakpoint, Eclipse displays a view that
says, "Source not found.".  There is also a button with "Edit Source
Lookup Path..." on it.  When I click the button, a window appears for me
to select the location of the source files.  I then browser to the path
where the page resides and select it.
 
At this point, the process repeats itself and waits for me select the
source path.
 
I have checked the paths many times and I have deleted and re-created
the debugging profiles and RDS settings.  However, I still cannot debug
the acelinktest.evansville.edu web site.
 
I have restarted the CF application service, then tried to debug the
acelinktest.evansville.edu site first, thinking that the problem was
caused by CF "caching" the first debugging connection settings.  Still
no worky.
 
So, my thoughts are that the following could be preventing the debugging
from working correctly:
1. The custom IIS script that redirects to https.
 
2. The root "/" mapping points to the acelinkdev.evansville.edu site
root rather than acelinktest.evansville.edu.
 
3. It's something to do with running a single instance of CF and trying
to debug multiple sites just doesn't work.
 
However:
1. The breakpoints are in the index.cfm page and not in the IIS redirect
script.  I figured CF would only try to debug the actual page where the
breakpoints occured.
 
2. In the Application.cfc of acelinktest.evansville.edu, I am using
per-application mappings.  I figured CF would respect those while
debugging.
 
3. My next step would be to try this after I install distinct CF8
instances for each web site.
 
Sorry this was so long, but I tried to be as detailed as possible with
this issue.  If anyone has any suggestions, I will surely welcome them.
 
M!ke


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286293
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to