Hello everybody,
I Use Rapid PHP 2008 (The last Version)
I would like to debug a web site from a third part php server "Easy PHP" (last version)
I've already confirgure php.ini with xdebug and I see it with php_info.
My question is :
how can I use Ā« xdebug_break() Ā» for call a debugger and retrieve the context.
When I write a simple doc like : <?php xdebug_break(); ?>, firefox display the page normally and does not call rapid php for debugging?
Maybe I need a DBGp proxy.
Could you help me?
thank for your help
Solution
1) I've download a plugin for firefox for easily starting and stoping xdebug session.
I've configure parameter same as purpose on this plugin. So the value of xdebug.idkey = «default» in php.ini
2) In RapidPHP, I've change the session name to «default» in setting of debugger and I click on the «Run» button
3) If I display a php page with xdebug_break() instruction, RapidPhp has been called and I retrieve all context variables
I hope this explanation help other people
A question about xdebug_break [Resolved]
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
A question about xdebug_break [Resolved]
Last edited by yuyuki on Wed Jan 07, 2009 3:31 pm, edited 2 times in total.
Re: A question about xdebug_break
I've found not enough explanation at this url http://xdebug.org/docs/remote
Code: Select all
bool xdebug_break( )
Emits a breakpoint to the debug client.
This function makes the debugger break on the specific line as if a normal file/line breakpoint was set on this line.