RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-08 Thread Andrew Scott
No what Mark is referring to is the debug mappings, but I still think this
is only needed for remote servers. As it clearly says if the server is
installed locally it can work it out, and I have done this many times with
many sites and it has worked it out. But like I said that might be different
to Virtual Hosts because I personally don't use Apache.

 

Regards,

Andrew Scott

 http://www.andyscott.id.au/ http://www.andyscott.id.au/

 

 

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Andrew Myers
Sent: Tuesday, 8 February 2011 9:15 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CFBuilder Debugger  Virtual Hosts

 

Just found that myself Andrew.  Everything is on my local PC and it says as
you describe.  I tried it just in case, but still no joy.

 

I wasn't at my PC before and I thought Mark might have been referring to the
setting under Project properties, ColdFusion Project, Additional source.  

 

There must be something non-standard about my setup I guess...or I've hit
one of those bugs you mentioned in your blog, but I'll keep trying. :-)

 

 

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



Re: RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-08 Thread Mark Mandel
Ah yep, that is only for remote servers, not for local.

Thought you had a remote setup.

Mark

Sent from my mobile device.
On 08/02/2011 9:25 PM, Andrew Scott andr...@andyscott.id.au wrote:
 No what Mark is referring to is the debug mappings, but I still think this
 is only needed for remote servers. As it clearly says if the server is
 installed locally it can work it out, and I have done this many times with
 many sites and it has worked it out. But like I said that might be
different
 to Virtual Hosts because I personally don't use Apache.



 Regards,

 Andrew Scott

 http://www.andyscott.id.au/ http://www.andyscott.id.au/







 From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On
Behalf
 Of Andrew Myers
 Sent: Tuesday, 8 February 2011 9:15 PM
 To: cfaussie@googlegroups.com
 Subject: Re: [cfaussie] CFBuilder Debugger  Virtual Hosts



 Just found that myself Andrew. Everything is on my local PC and it says as
 you describe. I tried it just in case, but still no joy.



 I wasn't at my PC before and I thought Mark might have been referring to
the
 setting under Project properties, ColdFusion Project, Additional source.



 There must be something non-standard about my setup I guess...or I've hit
 one of those bugs you mentioned in your blog, but I'll keep trying. :-)





 --
 You received this message because you are subscribed to the Google Groups
cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
 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 cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-08 Thread Andrew Myers
 I seem to have tracked this down to project settings.

If I create a new project, then link my wwwroot folder to it via Project
Preferences - , the debugger works.

lf I create a new project, then re-import everything (excluding .project,
.settings and settings.xml), it still doesn't work, which is a bit weird.

So I think my solution might be to have a dummy project, which is just a
link to my wwwroot.  Messy, but it works...

On 9 February 2011 02:55, Andrew Myers am2...@gmail.com wrote:

 An update - I got the debugger to work with a new project that looks at a
 different virtual host.  There's clearly something about my config in my
 main project that's tripping it up.

 I am not certain if it is because my project structure is something like:

 workspace\
 somedir\
 anotherdir\
 wwwroot\ --- This is the one mapped in apache

 I'll try a few things tomorrow...I have clearly stayed up a bit too late
 fiddling with this tonight :-|



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



Re: RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-08 Thread Andrew Myers
Nope - the reason the new project worked, was that I had created a new
virtual host for it.  It had nothing to do with the folder links.

I just blew away my old virtual host, and created a new one, and now it's
working in my original project.  There must have been something not right
with my apache config.  So it was my fault all along.  Thanks to all who
offered suggestions, and sorry for wasting everyone's time :-)

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



[cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Andrew
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 cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Paul Kukiel
I have CFBuilder setup like this and it works fine.  I didn't need to 
define the virtual hosts in the project settings.


I have http://projecta and http://projectb running fine.

Are you sure the debugger is working even for non virtual hosts?  As 
soon as the debugger hits a break point in code under that project it 
should stop code execution and just into debugging.


That being said I run standalone CF and CFBuilder standalone.

Paul.

On 8/02/2011 3:46 PM, Andrew wrote:

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 cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Andrew Scott
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: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] 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 cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
You received

Re: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Andrew Myers
Thanks Paul  Andrew for your replies.

I just tried something else - decided that rather than setting my server to
connect to the apache mapping to cf.localhost I would go straight to
localhost:8300.

It still doesn't work for my virtual host, however, it stopped on an
exception when I opened the CF administrator.

The exception reports itself as being in

e:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\Application.cfm:203

So the debugger is working, sometimes.  Just not for my virtual hosts.

I'll play some more tonight or tomorrow.

I'm using Eclipse Helios - I might try a standalone install again, just in
case...but not confident that will be the solution.

Andrew's post is interesting - I might have a more detailed look a little
later too.

Andrew.

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



Re: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Mark Mandel
Have you set up your folder mappings?

I use virtual hosts (all my cf servers are on VMs), and the debugging folder
mappings are key in getting the debugger to work.

Mark

On Tue, Feb 8, 2011 at 4:57 PM, Andrew Myers am2...@gmail.com wrote:

 Thanks Paul  Andrew for your replies.

 I just tried something else - decided that rather than setting my server to
 connect to the apache mapping to cf.localhost I would go straight to
 localhost:8300.

 It still doesn't work for my virtual host, however, it stopped on an
 exception when I opened the CF administrator.

 The exception reports itself as being in

 e:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\Application.cfm:203

 So the debugger is working, sometimes.  Just not for my virtual hosts.

 I'll play some more tonight or tomorrow.

 I'm using Eclipse Helios - I might try a standalone install again, just in
 case...but not confident that will be the solution.

 Andrew's post is interesting - I might have a more detailed look a little
 later too.


 Andrew.


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




-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia
http://www.cfobjective.com.au

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com

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



RE: [cfaussie] CFBuilder Debugger Virtual Hosts

2011-02-07 Thread Andrew Scott
If the ColdFusion server is local, does the VirtualHost settings still need
to be done? 

 

It is stated that if ColdFusion is locally this is not required, as mappings
for the debugger.

 

 

Regards,

Andrew Scott

 http://www.andyscott.id.au/ http://www.andyscott.id.au/

 

 

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Mark Mandel
Sent: Tuesday, 8 February 2011 5:14 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CFBuilder Debugger  Virtual Hosts

 

Have you set up your folder mappings?

I use virtual hosts (all my cf servers are on VMs), and the debugging folder
mappings are key in getting the debugger to work.

Mark

On Tue, Feb 8, 2011 at 4:57 PM, Andrew Myers am2...@gmail.com wrote:

Thanks Paul  Andrew for your replies.

I just tried something else - decided that rather than setting my server to
connect to the apache mapping to cf.localhost I would go straight to
localhost:8300.

It still doesn't work for my virtual host, however, it stopped on an
exception when I opened the CF administrator.

The exception reports itself as being in

e:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\Application.cfm:203

So the debugger is working, sometimes.  Just not for my virtual hosts.

I'll play some more tonight or tomorrow.  

I'm using Eclipse Helios - I might try a standalone install again, just in
case...but not confident that will be the solution.  

Andrew's post is interesting - I might have a more detailed look a little
later too.



Andrew.



-- 
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com
mailto:cfaussie%2bunsubscr...@googlegroups.com .
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.




-- 
E: mark.man...@gmail.com
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia
http://www.cfobjective.com.au

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com

-- 
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
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 cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.