CFBuilder not stopping on breakpoints

╄→尐↘猪︶ㄣ 提交于 2019-12-23 20:25:08

问题


Since this question...

Eclipse doesn't stop at breakpoints

...deals with eclipse itself and CFBuilder is eclipse based, I thought it might be helpful. One of the comments there mentioned stopping the server and redeploying the app :(

My question is this: if CFBuilder (I'm using v 1.0) doesn't stop on breakpoints, or if it gets a li'l question mark icon over the breakpoint when it's set, how do I fix this Without Restarting The Server. Restarting fixes the issue about 95% of the time, but it takes a few minutes (slow/old machine).

Is there a way to redeploy w/o restarting, or another quick fix so that my workflow doesn't get interrupted? It's maddening to have to restart the server just to debug my code.

For reference, this is remote debugging, since it's coming from the server on the wings of an HTTP request.

Some additional info The Project menu has the following grayed out for me:

  • Build All
  • Build Project
  • Clean...
  • and Select Working Set... (under Build Working Set)

回答1:


I was having this problem. My ColdFusion project is stored in D:\work\myproject; and I have created a link (using MKLINK) in C:\ColdFusion10\cfusion\wwwroot\myproject. When you create the ColdFusion project make sure that the project directory is C:\ColdFusion10\cfusion\wwwroot\myproject and not D:\work\myproject. The path to the project is /myproject.




回答2:


Try restarting the Debugging Server. Login to your ColdFusion Administrator and go to Debugging & Logging > Debugger Settings where you will find a Restart button. If it is a consistent problem then you might have something else going on.




回答3:


Try refreshing your project after code change and before debugging.



来源:https://stackoverflow.com/questions/10233847/cfbuilder-not-stopping-on-breakpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!