Copy link to clipboard
Copied
Hi,
I have been having difficutly getting CFB to do line by line debugging.
I have a local server using WAMP 2.0 (Apache, CF9 Dev and MySQL)
I have RDS setup properly and I can get the debugger started on a line. However, it never progress past the Aplication.cfc.
I am using Coldbox and the debugger always seems to finish after running about 5 lines in the App.cfc.
I used FusionDebug on another project and I didn't seem to have this problem. I just wanted to make sure I wasn't doing anything wrong or if anyone else has encountered this problem.
I will be more than happy to give more details if needed.
Thanks,
Mal
Copy link to clipboard
Copied
It may be very hard to debug this problem (pardon the pun) over a mailing list. Just way to many factors that could influence what's going wrong, but let's try.
You say you have the debugger running, and you say "started" (did you mean "stopped"?) on a line. That's a great head start. Many can't even get to there due to config issues (getting the server-side config right, getting the RDS and Server properties in CFB right, getting the project properties to point to that, getting the debug configuration properties right, starting a debug session, etc.). So you're on the right track.
So when you say it "5 lines in", do you mean you're doing step over or into on each? What is the last line where things work? And what happens?
Could it be simply that the logic flow at that point is finished in the app.cfc? If so, then you'd need to have set a breakpoint in whatever next point you want to stop at. Does that help?
/charlie
Copy link to clipboard
Copied
Hey Charlie,
I apprecaite you taking the time out of your schedule to help out.
After a few reboots and restarts of CFB it appears to be working. Which is odd since I have not changed a setting at all on the program.
I will watch it closely and see if anything else happens. It does appear to be a little slower than Fusion Debug but, its working for now.
Thanks for stopping by