简体   繁体   English

ColdFusion Builder 3调试

[英]ColdFusion Builder 3 debugging

I really like the new ColdFusion Builder, but am running into trouble configuring debugging. 我真的很喜欢新的ColdFusion Builder,但是在配置调试时遇到了麻烦。 I've gone through the tutorials on setting up a project and a ColdFusion Server. 我已经完成了有关设置项目和ColdFusion服务器的教程。 Everything seems fairly straightforward. 一切似乎都非常简单。 I have a standard CF 10 install running on IIS. 我在IIS上运行了标准CF 10安装。

Here are my CF Server settings: 这是我的CF Server设置:

Application Server: defaulted to CF+Tomcat Bundle; 应用服务器:默认为CF + Tomcat捆绑包; not sure how to tell if it should be something different 不知道如何判断是否应该有所不同

Server home: C:\\ColdFusionBuilder3\\ColdFusion\\cfusion 服务器主目录: C:\\ ColdFusionBuilder3 \\ ColdFusion \\ cfusion

Document root: C:\\inetpub\\wwwroot 文档根目录: C:\\ inetpub \\ wwwroot

RDS is enabled, and I am able to start the CF server; RDS已启用,并且我能够启动CF服务器; however, if I run the project I get a blank page, and I see the error below in the Console. 但是,如果我运行该项目,则会得到一个空白页,并且在控制台中看到以下错误。 Not sure how to fix it, though. 不过,不确定如何解决它。 Any help would be greatly appreciated! 任何帮助将不胜感激!

[defaultLocal]:Listening for transport dt_socket at address: 6006
[defaultLocal]:(06/10 at 08:53:26) Server is available. Getting server settings.
[defaultLocal]:FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
[defaultLocal]:ERROR: transport error 202: bind failed: Address already in use
[defaultLocal]:ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
[defaultLocal]:JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750]

I could only get this working by setting it up as a remote server when using IIS since I have coldfusion running as a windows service. 由于我将Coldfusion作为Windows服务运行,因此只能在使用IIS时通过将其设置为远程服务器来使其工作。 I use port 80. 我使用端口80。

Also, note that CFBuilder 3, which is extremely buggy, forgets your remote server every time you shut down Eclipse. 另外,请注意,极其麻烦的CFBuilder 3每次关闭Eclipse时都会忘记远程服务器。 They are supposed to be patching this. 他们应该对此进行修补。 I am very disappointed that we spent any money on this garbage software. 我很失望我们花了很多钱在这个垃圾软件上。 Unfortunately, there aren't any IDEs that understand ColdFusion 10+ other than text editors such as Sublime. 不幸的是,除了诸如Sublime之类的文本编辑器之外,没有其他IDE能够理解ColdFusion 10+。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM