This can occur when switching in the Debug View from FusionDebug to the Java application.
The expression which has been evaluated by FusionDebug is incorrectly assumed by JDT to be a Java expression. This is an issue with the JDT plugin, rather than a FusionDebug issue.
Type: | Technote |
---|---|
Issue Number: | FDS-63 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:50:30 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
I’ve added the debugging settings required by FusionDebug to my servers configuration file /opt/jrun4/bin/jvm.config and now my server does not start any more.
When I start the server with
/opt/jrun4/bin/jrun start
I get the following error message:
Error [98] in bind() call!
<<<<<<< support.html
FATAL ERROR in native method: No transports initialized
err:: Address already in use
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
This is caused by the attempt to start all servers sharing the same configuration (which is the default). The port number you have defined in the debug settings can only be used by one server at a time. Therefor either start only the server you want to debug, e.g.
/opt/jrun4/bin/jrun start cfusion
or use separate JVM configuration files for each server. Read the Adobe technote to get the details on how to do that.
Type: | Technote |
---|---|
Issue Number: | FDS-21 |
Components: | Configuration |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:54:33 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: |
|
This issue is caused by Eclipse’s own implementation of the Java Debug Interface (JDI) which does not accurately reflect the Sun reference JDI implementation. Because of the way Eclipse manipulates the Java classpath, any Eclipse application (e.g. FusionDebug) attempting to load a JDI implementation will reference the Eclipse classes, instead of the Sun implementation.
We have provided links to the relevant Eclipse bugs below.
Problems with FusionDebug on Mac OS X can be reduced to two Eclipse issues:
This workaround creates a second Eclipse bundle which does not use the Eclipse JDI implementation. This will unfortunately disable Eclipse JDT (normal Java) debugging, but will allow FusionDebug to function. The remainder of Eclipse properties (workspace, configuration, formatting etc.) will remain identical between the bundles. The original bundle can be used for JDT debugging, if required.
Caveat: This will disable JDT (normal Java) debugging within Eclipse. For this functionality, use the original Eclipse.app bundle.
Type: | Technote |
---|---|
Issue Number: | FDS-92 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 14/06/2007 13:12:16 |
Affects Version: | 1.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | MacOS |
Related Issues: |
If you are using a standard Eclipse install, or the FusionDebug standalone bundled IDE, but not Flex Builder, carry out procedure FDS – 92 linked below.
If this does not rectify the problem, you may need to alter the Lingon startup command for ColdFusion to include the Java options to enable debugging. The startup command should read as follows:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java -server -Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8777 -Djava.awt.headless=true -jar /Applications/JRun4/lib/jrun.jar -start cfusion
N.b. this is all a single line. This Java configuration listens on port 8777 for debugging connections. Make sure your FusionDebug Debug Configuration within Eclipse reflects this in the connect tab.
Type: | Technote |
---|---|
Issue Number: | FDS-51 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:40:42 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | MacOS |
Related Issues: |
|
The FusionDebug Eclipse Plugin installs its own launcher to enable starting Eclipse in the FusionDebug perspective.
If you have used the plugin launcher (the ‘red bug’ icon) to start Eclipse and then use the File->Switch Workspace function it does not restart automatically. Please manually restart Eclipse in this case.
Type: | Technote |
---|---|
Issue Number: | FDS-65 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:52:58 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
No. Simply call the page in the web browser as you normally would. The port configured in jvm.config is for the internal debugging data and is not related to the web server or web browser.
Type: | Technote |
---|---|
Issue Number: | FDS-14 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:34:56 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | Tomcat, JRun 4, ColdFusion 8, ColdFusion 6, ColdFusion 7, JBoss, WebSphere, WebLogic |
Platform: | |
Related Issues: |
There are two places where users often experience issues when configuring FusionDebug 1.0.
The first is with the Webroot folder; this value must be the path to the folder on the actual CF server. e.g. the value should not be the name of a share Q:\CFusionMX7\wwwroot, it should actually be: C:\CFusionMX7\wwwroot where the files are placed on the server.
The second issue tends to be that FusionDebug may pick the wrong source file to display, if you map your project to the webroot folder and have mulitple files of the same name in different folders. However this is very simple to fix, and can be done so by turning on the Search for Duplicate Source Files checkbox on source code tab of the Fusion Debug Launch Control.
Breakpoints Don’t Fire: Setting Webserver Folder and Eclipse Project Structure
Problem:
Two of the most important options in FusionDebug are Webserver Folder, and Eclipse folder structure mirrors webserver. This article discusses how to configure these options in detail.
FusionDebug uses the information in the Configuration Dialog (accessible from the Run -> Debug menu) to accurately set breakpoints. If the information in this dialog is not configured correctly, FusionDebug may report that a breakpoint has been set, but it never fires: the associated page always runs to completion.
Solution:
In most cases, this problem can be solved by correctly configuring the Webserver Folder and Eclipse folder structure options in FusionDebug. Once these options are correctly configured, the configuration usually doesn’t need to be subsequently changed.
FusionDebug needs to know exactly where on your ColdFusion server the files are located, and how folders are structured. It uses these options, together with your Eclipse folder structure, to accurately set breakpoints and select the correct files when breakpoints fire.
Please note that FusionDebug 2 has an enhanced source code lookup system.
Type: | Technote |
---|---|
Issue Number: | FDS-82 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 01/06/2007 10:42:56 |
Affects Version: | 1.0 |
Fixed Version: | 1.0 |
Server: | |
Platform: | |
Related Issues: | None |
This is a known bug of the FusionDebug Setups on Linux and Solaris platforms not saving meta data about the installation in the Java Preferences User Backing Store if the Java Preferences System Backing Store in directory /etc/.java/.systemPrefs does not exist or is write protected.
If the Setup does not detect a previously installed version you can install on top of the existing version to update it.
FusionDebug Setup and FusionDebug itself make use of the Java Preferences API to read and write data about the installation and other parameters from and to the so called Java Preferences Backing Store on the destination computer.
On Windows the location of the Backing Store is in the Windows Registry, on MacOS, Linux and Solaris the location of the Backing Store is typically the file system. The Backing Store itself is made up of a System and a User part that reside in different locations.
On Windows the System Backing Store is located in the registry in [HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs] whereas the User Backing Store is located in [HKEY_CURRENT_USER\Software\JavaSoft\Prefs].
On MacOS the System Backing Store is a set of *.plist files in the directory /Library/Preferences, the User Backing Store is a set of *.plist files in the directory $HOME/Library/Preferences.
On Linux and Solaris the System and the User Backing Store are a hierarchy of XML files. There can be multiple locations for the System Backing Store. If the directory /etc/.java/.systemPrefs exists and is writable it will be used as the System Backing Store, otherwise the directory $JAVA_HOME/jre/.systemPrefs will be tested. If this directory is writable or can be created it will be used as the System Backing Store. If this does not work no System Backing Store will be available.
The User Backing Store is located in the directory $HOME/.java/.userPrefs.
Depending on the privileges of the user that runs the Setup, data about the installation is stored in one of the two possible places described above. FusionDebug Setup first tries to access the System Backing Store and uses the User Backing Store if it cannot write to the System Backing Store. Due to a bug in a third party API which is used by the FusionDebug Setup this does not work correctly on Linux and Solaris.
Type: | Technote |
---|---|
Issue Number: | FDS-95 |
Components: | Installer |
Environment: | |
Resolution: | Fixed |
Added: | 18/06/2007 14:43:23 |
Affects Version: | 2.0 |
Fixed Version: | |
Server: | |
Platform: | Solaris, Linux |
Related Issues: | None |
There are three possible causes here:
Another thing that can make stepping seem not to work exhibits itself while control is stopped on a given breakpoint. Despite subsequent requests to step through code, no new lines seem to be reached in the file editor, but if you watch the stack trace pane you see the line numbers properly stepping through the code. The problem occurs because you have opened the file using the file system rather than an Eclipse “project”. FusionDebug only works with Eclipse projects, please open the file by clicking on it from within the Eclipse project instead of using the Eclipse File->Open File… menu.
Type: | Technote |
---|---|
Issue Number: | FDS-29 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:07:51 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
This can occur if you haved used Eclipse’s Software Updates -> Manage Configuration dialog to revert your FusionDebug installation from 2.0.0 to 1.0.0. The original FD2 Trial license (serial number FD200TST) is still installed.
Additionaly, if you had time remaining on the original FusionDebug 1.0.0 license, this will also have expired.
To continue using FusionDebug 1.0.0, the FusionDebug 2.0.0 trial license must be activated. Once this is done, the original FusionDebug 1.0.0 license file can be re-installed and activated again.
If you later switch from 1.0.0 to 2.0.0, you can continue with your 2.0.0 trial license without problems.
Type: | Technote |
---|---|
Issue Number: | FDS-45 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:34:42 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
The server configuration wizard
If you are comfortable editing JRun’s jvm.config file, the change to enable FusionDebug is quite simple and can be performed in a few minutes. The Server Configuration Wizard simply provides a comprehensive graphical tool to accomplish the same thing.
Type: | Technote |
---|---|
Issue Number: | FDS-70 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 30/05/2007 12:53:53 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 6, ColdFusion 7 |
Platform: | Solaris, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Some classes of array data (notably binary arrays loaded from CFFILE tags) are truncated to 256-bytes in order to prevent Eclipse becoming unresponsive handling very large quantities of data. The ‘Expressions’ and ‘Variables’ views both update their displays to notify you when this truncation has occurred by appending “Truncated: showing 1 to 256 of X” where ‘X’ is the real length of the array.
The Inspect Expression popup also truncates this data but does not notify you when the truncation has occurred. This is due to a limitation of the Eclipse platform’s Popup mechanism. Once a tree element has been drawn, it is impossible to update it without re-displaying the popup, and for this reason the “Truncated” message is not shown.
Type: | Technote |
---|---|
Issue Number: | FDS-64 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:52:04 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
FusionDebug can access any variables that are available in any server-side scope, for example Variable, Application, Session, Form, URL etc.
You should be able to find all of the values submitted on the flash form in the FORM scope of the Variable View.
Type: | Technote |
---|---|
Issue Number: | FDS-68 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 30/05/2007 11:33:24 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 6, ColdFusion 7 |
Platform: | Solaris, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Any CF page or code which runs through the ColdFusion engine may be debugged:
The following code may not be debugged using FusionDebug:
Type: | Technote |
---|---|
Issue Number: | FDS-36 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:23:21 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
The thread list in Debug View is in suspend order. The most recently-suspended thread appears last. Stepping a thread does not count as a resume for the purposes of ordering, and does not cause the thread order to change. Resuming a thread which later hits a breakpoint causes that thread to correctly reappear at the end of the list, since it has subsequently suspended on a breakpoint.
Although FusionDebug supplies this data correctly to Eclipse, Eclipse 3.1 sometimes changes the order of these threads. This behavior is not the case in Eclipse 3.2.1.
Since Eclipse updates contain a large number of stability, performance and functionality fixes, we recommend customers always use the newest Eclipse platform available.
Type: | Technote |
---|---|
Issue Number: | FDS-61 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:48:03 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Pages, CFQUERY, CFLOCK, CFTRANSACTIOn etc. may time out when they are paused using FusionDebug.
When FusionDebug suspends on a breakpoint, any timeouts set in the ColdFusion MX Administrator are still in effect and will cause the appropriate error message.
Suspending due to a breakpoint extends the normal duration of these tags, and will prevent other pages from continuing if they are waiting for the same locked resource. The ColdFusion server will see these pages as long-running requests, and apply the normal timeout to them, if this feature is enabled in the ColdFusion Administrator.
This feature is disabled by default in CF 6.1, but enabled in CF 7 and 8.
The page request timeout can be overridden on a per-page basis using CFSETTING RequestTimeOut.
Type: | Technote |
---|---|
Issue Number: | FDS-57 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:46:03 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
FusionDebug won’t connect to my ColdFusion instance, failing with message: “FusionDebug could not connect to the target system (machine:port)”.
Mac OS X users should check and run procedures FDS-92 and FDS-51, linked below. All platforms should check technote FDS-93 and its associated linked technotes.
Type: | Technote |
---|---|
Issue Number: | FDS-56 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:45:11 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Sometimes certain elements in the variables view will open themselves immediately when collapsed.
This is a known Eclipse 3.1 bug (number 110206, available here) and was fixed in Eclipse 3.2. We do not recommend Eclipse 3.1 as a FusionDebug platform, and would urge you to upgrade to the latest Eclipse release, or to a FusionDebug complete IDE installer.
Often, stepping ahead using FusionDebug will make this issue go away.
Type: | Technote |
---|---|
Issue Number: | FDS-55 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:44:29 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
FusionDebug is able to work alongside DreamWeaver and any other editor you might be used to. There’s no requirement to perform development work inside FusionDebug. You can switch to FusionDebug to debug whenever required. Simply create a Project within FusionDebug/Eclipse which points to your existing source code.
If you’re having synchronization problems, where FusionDebug/Eclipse doesn’t see changes you made in your regular editor, consider enabling automatic refresh within Eclipse:
Windows -> Preferences -> General -> Workspace – select Refresh automatically.
To make FusionDebug/Eclipse refresh the workspace when it starts up, select Refresh workspace on startup from the General -> Startup and Shutdown page.
Type: | Technote |
---|---|
Issue Number: | FDS-53 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:42:16 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
This may occur when CFEclipse is also installed, either separately or using the FusionDebug bundled installation.
Both CFEclipse and the Eclipse platform itself claim these shortcuts: F5 on CFEclipse and Eclipse means ‘refresh browser’ and F8 on CFEclipse means ‘Open Scribble Pad’.
These keys always have their debugging meanings (Step Into and Resume, respectively) when the Debug View is focused.
If you want to configure these keys so they will continue to work when a CFEclipse editor is active, please use the following procedure.
Type: | Technote |
---|---|
Issue Number: | FDS-48 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:37:00 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
CFEclipse may by default have no currently line highlight color selected. Changing this makes it much easier to see which line you are currently debugging.
Select the Eclipse Window -> Preferences menu.
From the Preferences dialog, open the CFEclipse node, and click on Editor. In the Appearance -> Color Options select Current line highlight and choose a color other than white. Apply this change.
Type: | Technote |
---|---|
Issue Number: | FDS-47 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:35:58 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
You don’t need CFEclipse to use FusionDebug.
However, we do recommend CFEclipse, and our install packages will offer it as a bundled component. CFEclipse provides a comfortable, comprehensive environment for working with ColdFusion within Eclipse. We’re sure you will like it if you give it a try!
Type: | Technote |
---|---|
Issue Number: | FDS-46 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:35:27 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Please contact FusionDebug Support at , and we’ll do everything we can to get you up and running as soon as possible.
Type: | Technote |
---|---|
Issue Number: | FDS-43 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:32:33 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Activation is a measure to help protect against unauthorized copying of the software.
By default, FusionDebug is installed with a 20-day trial license. Once you have bought and uploaded a full license, you will have a further 10 days in which to activate it. After the software is activated, it need not be activated again until re-installed.
Type: | Technote |
---|---|
Issue Number: | FDS-41 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:30:01 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Under some circumstances the trial license initialization can fail and it expires immediately.
Please contact FusionDebug Support at to get a free trial license via email.
Type: | Technote |
---|---|
Issue Number: | FDS-40 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 14:29:42 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |