NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Empty locations in profiler?


Joined: 17 Apr 2007
Posts: 7
Reply with quote
I am trying to profile a page on my server (using 3rd party web server, remote dbg mode). Unfortunately the file that it pegs as the worst offender has a totally blank location, so I can't actually figure out where the problem is!

Here's an example of what I'm talking about:

View user's profileFind all posts by jsdSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
what is the version and what is the md5sum of phped.exe?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 17 Apr 2007
Posts: 7
Reply with quote
dmitri wrote:
what is the version and what is the md5sum of phped.exe?


Version 5.0 Build 5019
md5: af4aeece555f87d1cf121e1e870c5add


I tried this on 4.6.3 which I had on another computer and it seemed to work better.
View user's profileFind all posts by jsdSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
could you please create a short sample that will replicate the problem?
I tried some projects and could not manage to get anything wrong...

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 17 Apr 2007
Posts: 7
Reply with quote
dmitri wrote:
could you please create a short sample that will replicate the problem?
I tried some projects and could not manage to get anything wrong...

I can't replicate it with anything other than our big development setup, which is unfortunate, since that is where I really need it.

It seems to be related to project mapping though. If I am referencing our framework (which is outside the main project directory), it doesn't seem to be able to resolve those names on the Module view. It does show them OK on the Function view though.

At this point, I'm much more interested in the issue I brought up here profiler-q-determining-caller-t3359.html

thanks.
-jsd-
View user's profileFind all posts by jsdSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
please enable tools->settings->debugger, show mapping errors checkbox and run profiler again. If you get mapping errors please screenshot them and send me. TIA Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
same problem


Joined: 03 May 2007
Posts: 3
Reply with quote
Hi Dmitri

I have the same problem. I'm using the CodeIgniter framework, i suspect it has something to do with that.
I have the "show-mapping-errors" switched on. I don't see any mapping errors, though, but maybe i don't know where to look.
The profiler does show linenumbers, but not the source-filename. Have you found a sollution for this problem yet?

Kind regards
Michaël

View user's profileFind all posts by mick_spSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
it's a known problem in v5.0 and happens only if you have no local project files or remote files available locally or there are mapping problems with the project settings. I'd recommend you to check mapping using DbgWizard.


Last edited by dmitri on Wed Jul 18, 2007 7:32 pm; edited 1 time in total

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 May 2007
Posts: 3
Reply with quote
Hi Dmitri

Thanks for the tip. I didn't find anything called DbgWizard (couldn't find it in the help either, well, i'm reputed to be a bad searcher Confused ), but i added a mapping to my Codeigniter system-dir. This solved the problem.
For others having the same problem, this (img) is what my mapping looks like.



thanks for helping out!
Michaël
View user's profileFind all posts by mick_spSend private message


Joined: 24 Oct 2006
Posts: 98
Location: Melbourne, AU
Reply with quote
You can find that download here...

http://www.nusphere.com/products/dbg_wizard_download.htm
View user's profileFind all posts by LatsSend private message
[resolved] Empty locations in profiler?
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