CodeIgniter Forums
Is there some guidance on stepping through CI-enabled code? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Is there some guidance on stepping through CI-enabled code? (/showthread.php?tid=72856)



Is there some guidance on stepping through CI-enabled code? - IgniterExplorer - 02-20-2019

Hi,

Along with tutorials and hands-on practice, I'm trying to trace through some of the practice modules I'm using with CodeIgniter.

The problem, as with many libraries, is that it's easy to dig down too deeply.  I'd like to see the flow of e.g. url routing, by watching it happen in my sample code.

Are there any tutorials that run through a debugging session, showing how everything is expanded and translated?



Regards,


RE: Is there some guidance on stepping through CI-enabled code? - php_rocs - 02-20-2019

@IgniterExplorer,

There are tons of video's and articles that can show you how. You just have to put in the work to find it. Youtube, CI forum, and more.

https://stackoverflow.com/questions/4260625/how-do-you-debug-codeigniter-applications
https://www.codeigniter.com/userguide3/general/profiling.html#profiling-your-application


RE: Is there some guidance on stepping through CI-enabled code? - IgniterExplorer - 02-20-2019

(02-20-2019, 11:12 AM)php_rocs Wrote: @IgniterExplorer,

There are tons of video's and articles that can show you how.  You just have to put in the work to find it.  Youtube, CI forum, and more.

https://stackoverflow.com/questions/4260625/how-do-you-debug-codeigniter-applications
https://www.codeigniter.com/userguide3/general/profiling.html#profiling-your-application


Ok, thanks for the links.

And yes, I did "PUT IN THE WORK" before posting here.  Just because someone's google searches didn't pan out, doesn't mean they are trying to get something for free.

Also, asking in this forum, after unsuccessful google searches, IS an example of 'putting in the work'.


Edit:  The links provided above, don't answer the question.  I know how to debug and single-step.  I use an IDE with an embedded debugger.  

I'm trying to find out if there are some tutorials that actually run through a debugging session and show how CodeIgniter works step by step, without getting caught in low-level code & extensive loops.

In other words, hands-on tutorials that step through the medium/high-level Codeigniter modules that I can follow along on my side, to gain insights that mere explanation can't provide.