ColdFusion 9 line debugger for eclipse

In the Adobe documentation regarding the string debugger, I see several links. Take a look here, for example:

Configure ColdFusion to use the Debugger

I see a mention of the various Eclipse-related options that I need to do. For example (above):

You can determine if the debug server is configured correctly in Eclipse by choosing Window> Preferences> ColdFusion> RDS Configuration, and then click Test Debugger.

However, I do not see a mention of what I need to do to configure the eclipse installation to receive this function. I assume there is an eclipse plugin that I need to install. I hope they don't actually talk about CFBuilder when they just say "eclipse." I must indicate that I am using vanilla eclipse with the cfeclipse plugin (not CFBuilder).

From the CFEclipse website, I see the following:

Debugging

Adobe released ColdFusion 8 Extensions for Eclipse, which included a step debugger and RDS tools. This is no longer supported by Adobe, but still works in the latest versions of CFEclipse. FusionDebug is a commercial step debugger available from Integral.

Is it really true that Adobe released a free debug extension for CF8 and eclipse, but then broke it when it went to CF9 (and did not offer a free alternative)? Is there a free way to debug lines in CF9?

Assuming this is so ... is there a free option to debug the Railo line? What about CF 10?

+4
source share
4 answers

You need: ColdFusion Builder http://www.adobe.com/products/coldfusion-builder.html from Adobe, not CFEclipse.

You can install as a plugin for existing Eclipse or as standalone.

It can be used for free after a period of evaluation for free with disabilities. I'm not sure if the linear debugger is one of the free features.

+1
source

Using the same instructions that are available for CFEclipse and CF8, I was able to get a debugger that works with CF9 and Eclipse 4.2 (Juno) with the CFEclipse plugin. After a long search, I found RDS configuration entries in the menu Window-> Preferences-> Adobe-> RDS Configuration. How I configured it:

You have to make sure that the port that starts the Debug RDS server is open: I use Windows Server 2008 and basically open the port to which I added the JVM Arguments parameters in the ColdFusion admin (otherwise Coldfusion starts it using some random port and it may be closed, which will mean that it does NOT accept incoming requests). syntax:

-server -Xdebug -Xrunjdwp: transport = dt_socket, server = y, suspend = n, address = 5005 -DDEBUGGER_SERVER_PORT = 49208

You will have to restart Coldfusion as this is used by the JVM at startup.

In the RDS configuration, I used the host name and port number of the application server, and not the Debug Server port itself. So in my case, I run IIS, which listens on port 80, so this is the host name and port number that I used.

Now a litmus test, if you can successfully connect, then check the debugger. If not, do not try to debug the application. In a related note, I am having some problems with breakpoints that sometimes don't hit, so this still bothers me as a production solution, but I might be doing something wrong too.

Of course, I curtailed it, but the fact is that it is apparently achievable. I am new to Coldfusion, so I know little about these options, but I just wanted to point out some of the configurations that, as soon as I enabled them, I was able to achieve linear debugging.

+7
source

CF9 and Eclipse 4.2 (Juno) with the CFEclipse plug-in - Apache on MacOs. I did not have Adobe / RDS, but I downloaded eFilter CF801 ​​and moved the two RDS plugin files to the Eclipse plugin directory and restarted eclipse. After that I had the Adobe / RDS configuration in Eclipse / preferences. I just configured RDS on port 80, since I have coldfusion serviced by local Apache, a verified connection and debugging, and now everything looks fine. thanks G.

+1
source

I would recommend FusionDebug. It has easier setup and better user function. http://www.fusion-debug.com/fd/

0
source

Source: https://habr.com/ru/post/1399112/


All Articles