Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
130
Reporter ?
Mathieu Kooiman
MacGDBp / 1.0
Status ?
Closed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Detect errors with PHP CLI
Report Time ?
June 26, 2008 09:07 AM
Assignment ?
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

June 26, 2008 09:07 AM Mathieu Kooiman
We had a situation where MacGDBp would hit a breakpoint but couldn't display the related file, even though the file was accessible for MacGDBp. The problem was traced to a faulty PHP CLI install.

MacGDBp uses the PHP CLI binary for syntax highlighting (clever! :) ), which is fine, except it doesn't detect when the PHP CLI is available but doesn't work.

MacGDBp should check the exit code for the PHP binary, to see if highlighting actually worked and give a proper error message if it didn't work.


July 14, 2008 06:45 PM Robert
What was wrong with the PHP CLI install? And what did MacGDBp do with the bad output? Did it crash? Finally, if I posted a beta build would you be able to test and see if you can replicate the issue?

July 14, 2008 07:11 PM Mathieu Kooiman
I think one of the PHP extensions was dynamically compiled against a particular library that resulted in unresolved references. MacGDBp silently failed, not showing anything in the File pane.

Perhaps you can reproduce it by trying to load a PHP extension which was compiled for a different PHP version than the one you're using.


July 14, 2008 07:27 PM Robert
Thank you for your bug report. This issue has been closed and fixed in git. This change will be available in a future release, but you can download the change at any time from the git repository, found at http://www.bluestatic.org/git/.

On July 14, 2008 07:27 PM, Robert changed: