CF8 Debugger -- Finally -- More Newbie Discoveries

Whew.... what a week. The hardest part of riding a bicycle is getting started... or going up hill. This is how I felt w/ Eclipse (of which I am a complete newbie).

Final thoughts on getting CF8 debugger to actually debug in my RDS enviroment:
1) Turn on CF8 bebugging, and get the RDS working -- listening to debug (see other related entries)
2) Set up the Eclipse project correctly -- in my case, since I am accessing my files via RDS to another computer, I created the project 'workspace' to point to that inetpub\wwwroot\ diretory of my project. I use a drive mapping ("Y:\") for the networked c:\inetpub\wwwroot\ directory so I don't have to type c:\inet...yada all the time.

Here is the good stuff that finally gets me there. RDS was listening, files pointing to the server files, but no debugging. Here what to check.

In the Resource perspective, right click on the project folder and do the following:
3) Select 'Edit URL', make sure it points to your application area, NOT the root of your directory. In my case, for the project "Bubbas BBQ", stored at c:\inetpub\wwwroot\bubba on my IIS server, the URL is 'http://127.0.0.2/bubba/' -- (127.0.0.2 is location of my CF8 server. I also have it named 'winme' since I am too lazy to type Ip numbers...) remember that last '/' at the end of the URL
4) Right click again on the project folder and select 'Set CF Mapping', again making the mapping 'http://127.0.0.2/bubba/' -- or whatever the root of your debugging application is.

One more right click of project folder and selecting properties will let you check all your settings:





5) IMPORTANTClick on the Debug perspective and Edit the Server to find your mappings. You'll want to ADD a mapping that links where your files are to what the local file structure is (no mapping or IPs here.) This is the absolute path of the computer where the files are stored.

With all of these settings inplace, you are now ready to begin debugging your code. Opening a file by double clicking on it in the project folder, or creating a new one, and entering break points....

I love it when it all comes together :)

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact HHWD