NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
includes doesn't seems to work enough deeply


Joined: 28 Mar 2005
Posts: 3
Reply with quote
Hello,
Using 3.3.3397 phpEd under windows.
Thing are very nice, but we got a question.

We have script a.php which include script b.php which include script c.php.
If we run profiler or place break point - then it it recognize and work with a.php very fine, it also notices breakpoints and functions and profiling script b.php too.
It always execute script c.php, but no profiling inside this and no breakpoints working inside this.
It seems that all scripts which included on the level more deepest than 1st level not tracking.
At first we thought that this restriction of trial version, but restriction are for 20 lines of code in profile, and we specially created script which very short. And again, any breakpoints doesn't work in c.php and including c.php from b.php looks like one line of code, without coming through.
View user's profileFind all posts by OlgaLSend private message


Joined: 28 Mar 2005
Posts: 3
Reply with quote
To make it more clear, probably someone with full version can take a test.

Let's take php-nuke.
And run modules.php file with parameters in GET: name=News
In profiler we have nothing except modules.php and mainfile.php, though it's much more files inlcuded. config.php, modules/News/index.php and so on.
If rude shortage the code (we made it since we thought that this is probably trial restriction) - then accidently one file or other will appers in profiler, but it'll never show us all the files:-(
View user's profileFind all posts by OlgaLSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Trial version comes with limited functionality. Its profiler can never show more than 20 lines.
As of the debugger it should get into any include()'ed files if they are executed at all. Make sure you press F7 (Step) to get in while you're on the corresponding Include() statement.
Also, since php-nuke is quite a big project, I'd highly recommend you use Apache or IIS instead of embedded SRV server that comes with PHPED. In case of Apache you may want to install NuSphere TechPlatform 3.4 that bundles Apache and php. Debugger module can be installed separately.
See FAQ forum on how to setup project properties and running mode in case of debugging on a 3rd party web server.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 28 Mar 2005
Posts: 3
Reply with quote
Thank you for response, and for quick and kind responses in e-mail.
We must confess that we never expect such a good support!
View user's profileFind all posts by OlgaLSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
all people are welcome especially from St.Petersburg Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
includes doesn't seems to work enough deeply
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic