Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

integrate test coldfusion and java source code in Eclipse

Guest
Jun 23, 2009 Jun 23, 2009

I have some coldfusion code to invoke java code. How can I integrate test it from coldfusion to java in Eclipse? For example, debug step by step from coldfusion code to java code.

Thanks in advance.

TOPICS
Advanced techniques
889
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 23, 2009 Jun 23, 2009

As far as I know you can't debug ColdFusion code in Eclipse (yet?) On

the other hand I never needed step debugging with CF (a combination of

cfdump, cftrace and/or cflog always worked for me).

ColdFusion and Java integrated debugging (stepping in/out of CF code

into Java code) is almost impossible I would say because at that point

you would need to debug ColdFusion's internals (type conversion

routines, etc, etc)

Mack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 24, 2009 Jun 24, 2009

Hi Mack,

Thanks a lot for your quick response.

I found some links about coldfusion debug in eclipse before, but it didn't mention the integrate test with Java:

http://www.ibm.com/developerworks/opensource/library/os-eclipse-cfeclipse/index.html

http://www.adobe.com/devnet/coldfusion/articles/debugger_print.html

For some cases, our application passes a complicated data structure from coldfusion to java. It is time consuming to setup those data structure on the java side to test java code. That's why I want  stepping out of CF code into Java code.

It seems the coldfusion(ear) is on the top of J2EE container. It's based on Java.

Thanks,

George

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 24, 2009 Jun 24, 2009

George,

I didn't know about the debugging features in CFEclipse, thanks for the info.

Regarding integrated CF and Java debugging I'm pretty sure there's no

solution at this point because that would mean that the CF server

needs to contain a Java debugger (CF debugging in Eclipse seems to

work in cooperation with the CF server, you would need the same

cooperation from the CF server when stepping into Java code).

Mack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 24, 2009 Jun 24, 2009
LATEST

Thanks for the update, Mack.

George

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources