CodeIgniter Forums
NetBeans and CodeIgniter Howto? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: NetBeans and CodeIgniter Howto? (/thread-59609.html)



NetBeans and CodeIgniter Howto? - El Forum - 10-27-2013

[eluser]Unknown[/eluser]
I have installed netbeans 7.3.1 and xdebuger all on a mac os.

The debugger works fine if I am debugging files like test.php. I can easily set a break point, run the debugger and then see how the code does.

The problem is how to do it in code ignitor. I just want to see how "public function index ()" runs (this is just an example). I set the break point to the first line in the index function in the controller but netbeans just runs past it and doesn't stop for me to see (I think).

This is a good tutorial but cannot see how to run pages that are products of the controller etc etc etc. http://wjmceachran.com/articles/70-codeigniter-and-netbeans.html

Your help much appreciated.

Regards



NetBeans and CodeIgniter Howto? - El Forum - 10-28-2013

[eluser]duartix[/eluser]
Put the breakpoint an a line that has some "real code" to execute. Not on an empty line, not on a remark, not on a block "bracket", not on the function name, etc.
If it's not stopping there, chances are it's not really passing there.