Hi Andrew,

Although I can't have said I use it with Virtual Hosts, as I do find them
fairly problematic at times. But I can tell you that there are known issues
with the debugger that Adobe are currently looking at, one of these are
break points that don't fire.

Now this mainly applies to CFScript but I have even seen it happen in tag
based code as well, where you fire a break point and it won't fire. But if
you move the break point to somewhere else up in the code, it will fire with
no problems. When you step through the code you will notice that it gets to
a certain point and will exit the code template and return back to the
previous calling template, this has been annoying me for the best part of 16
months or there about.

I have even seen it not fire in the Application.cfc and you restart the
ColdFusion server and it will then fire, I have even seen it actually look
like it will fire but CFB doesn't acknowledge that it has received the
request, and yet the page is still waiting in a connection to the server. I
have even seen this happen a few times, and each time if you find the
browser still trying to connect, and the IDE not responding, a huge amount
of java.exe in the task list.

Most people don't use the Debugger religiously like I do, and those that
don't are usually the ones who are not seeing any problems with the
debugger. 

I know it is of no comfort but here are a few video's that show some of the
problems I was having.

http://vimeo.com/19344071 - Shows the browser waiting for the server to
finish, normally won't happen in a debug session. But you can also see that
the debugger is not also firing.

http://vimeo.com/19344478 - Shows how the debugger can skip lines in the
code as well, this example is a cut down version of one I had noticed where
the function was about 100-200 lines of code, with cfloops and cffile. When
I tried to break on the cffile, it told me it couldn't reach it. When I
moved the line further up, it certainly stopped on the line I just asked it
too, but when stepping through the code it got to the first cfloop and then
exited the function.

I know there are serious issues with the line debugger, but others seem to
have not found these problems. I put it down to that these people are not
using the debugger on a daily basis, as part of the debug strategy and
prefer to use the old cfdump method run page instead. I do challenge people
to begin to use it on a daily, more consistent basis, and you will see a lot
more complaints about the debugger than what there is.

However the good news is that an Adobe Engineer is currently looking into a
particular bug number that I raised, and with the added information that I
have been able to give him hopefully we may see a fix for it.

I would also like to stress that the problems with the debugger happen in
both CFB Standalone, as well as a plugin into all version of Eclipse that I
have tried. It also doesn't matter whether you have ColdFusion installed as
standalone, multi-server or even whether it is stored remotely or not. I am
able to duplicate all the problems on all these type of configurations.

If you would like to contact me off list, I could email the engineer your
details and ask him to have a word with you as well. To see if it is related
to the problem he is currently looking at.

Regards,
Andrew Scott
http://www.andyscott.id.au/




> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Andrew
> Sent: Tuesday, 8 February 2011 3:46 PM
> To: cfaussie
> Subject: [cfaussie] CFBuilder Debugger & Virtual Hosts
> 
> Hi,
> 
> Does anyone have CFBuilder's step debugger working with virtual hosts?
> 
> My dev environment is something like this:
> 
> 9.0.1 installed as MultiServer, server root is c:\Jrun4
> 
> I access the CFADMIN via the url below as an Apache Virtual host:
> 
> http://cf.localhost/CFIDE/admin
> 
> My dev sites are at things like:
> 
> http://a.localhost
> http://b.localhost
> 
> etc.
> 
> In CFBuidler. my server is set up with cf.localhost as the server Host
Name,
> and my virtual hosts set up in the Virtual Hosts tab on page 2 of the
"Modify
> ColdFusion Server Setup" wizardy thing and restarted it.
> 
> In my project settings I have the correct virtual host selected.  I've
enabled
> debugging and modified my jvm.config as per the docs.  The IE preview in
the
> cfml editor works.  The RDS server test works under
> Window->Preferences->Adobe->RDS Configuration.  But the debugger does
> not stop at my breakpoints :-|
> 
> CFBuilder is installed as an eclipse plugin if it matters.
> 
> Has anyone had it working with a similar setup?
> 
> Andrew.
> 
> --
> You received this message because you are subscribed to the Google Groups
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to