Debugging PHP classes and starting point of debugging?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
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;
Post Reply
math55
Posts: 2
Joined: Mon Jul 15, 2013 6:18 pm

Debugging PHP classes and starting point of debugging?

Post by math55 »

Hello, thanks for writing RapidPHP, its really nice. I have 2 questions, however:

1. I have a large project which includes PHP classes. I am putting a break point in one of those classes functions, but it never stops there. I am 100% sure that it executes this function. Is that something which doesnt work in general, or am I doing something the wrong way? It works in index.php though, which means the debugger is running,I guess.

2. Is there a way to define what URL is called once the run button is clicked? Right now, I have to open index.php and click the run button. How can I tell the software to always start with index.php, no matter where I am?

I am using RapidPHP 2014.

Thanks for your help!
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Debugging PHP classes and starting point of debugging?

Post by Aivars »

The answer to 2nd question is that currently it's impossible to set specific entry point. I'll do some tests with classes when I get to my other computer and then get back to you.
Blumentals Software Programmer
math55
Posts: 2
Joined: Mon Jul 15, 2013 6:18 pm

Re: Debugging PHP classes and starting point of debugging?

Post by math55 »

Yes, please have a look, I really want to use your editor, but without class debugging I just cant.

Thanks
Post Reply