Joined: 22 Jul 2003 |
Posts: 19 |
Location: Burbank, CA |
|
 |
Posted: Thu May 05, 2005 10:59 am |
|
 |
 |
 |
 |
After months of using PhpEd and DBG successfully, I've run into a very strange problem. In some of my scripts the debugger will hang for 10-15 seconds at a specific line. Then the script continues, but HTML output stops at the line the debugger hung at.
(I should point out that this code runs fine both off the regular server and when I click the "run" button next to the "debug" button, so it seems that it must be a debugger issue.)
The hang does not happen at a processor-intensive spot; the most recent example is while 'echo'-ing the contents of a <select> menu. I've tried the following without success:
1. Replacing the line (including line breaks);
2. Changing the logic from a bunch of "echo" statements to a single concatenated string variable which is echoed at completion. When I do this the concatenated string forms correctly, but the debugger hangs when it hits the "echo" statement;
3. Commenting out the offending line. When I do this, the <next> line becomes the one the debugger hangs at; and
4. Replacing all line breaks in the file
This has happened in several different files, and always happens at the same place in each file.
My configuration:
PhpEd 3.3.3 build 3395
Windows 2000 development box
Remotely debugging a G4 XServe with OS X 10.3.8 and PHP 5.0.3
Has anyone else seen anything like this?
Regards,
Bill
|