I appreciate you taking the time to provide your feedback. It really
helps me assess where I am at and where I need to go.
> **************************
> * My Setup Experience:
> **************************
> As you mentioned in your video, it's definitely a starting point to a
> vast set of possibilities to improving development productivity. It
> took me a little while to get my initial setup working from FirePHP
> 0.3 to FirePHP 1.0 with the DeveloperCompanion. However, my local
> development server and production environments are now "somewhat"
> setup.
The setup procedure will be overhauled in the next couple of months. I
have received a lot of feedback about it and the general consensus is
that it is too involved and targets an experienced audience which limits
it's adoption.
My focus so far has been on getting the underlying infrastructure stable
and ensuring the configuration and integration points are sufficient to
accommodate simple and complex setups.
It is now time to refine the introduction into various stages of
commitment to get users started easily and provide a clear guide if they
choose to use more advanced features.
I would greatly appreciate your feedback as the new docs and tutorials
come online.
> **************************
> * Environment Overview:
> **************************
> I've noticed some inconsistent issues with the DeveloperCompanion and
> hope me sharing these details will be helpful in your efforts to
> continue improving this tool. To establish a baseline on my
> environments, I'm developing locally on Windows 7 using XAMPP and
> debugging a WordPress 3.1 Multisite setup. I host a live production
> site on a CentOS Linux Virtual Server and essentially run into the
> same issues.
This is a typical setup and should be fully supported.
> My configurations and setup have been fully validated using the client
> and server test tools provided. Also, I've successfully retrieved
> logs and traces in both the FirePHP Client running in Firebug and in
> the DeveloperCompanion. This is just day 1 of my trial period, so, I
> have 6 days remaining in my evaluation.
I am happy to hear you were able to get it all running in your setup in
a day. That is definetely encouraging.
I sent you a free license in appreciation of your feedback.
> **************************
> * Problems Observed:
> **************************
> Essentially, the two FirePHP clients (Firebug Companion and Developer
> Companion) behave very inconsistently with respect to capturing
> logging information. At first, I could not get Developer Companion to
> present any logged information at all. After restarting Firefox and
> reinstalling the FirePHP addons multiple times, I was able to finally
> get information to display in Developer Companion. Please note,
> Firebug Companion was receiving logged data with no problems and
> Developer Companion indicated client and server tests were
> successful.
>
> When I was able to get Developer Companion to finally display results,
> it would not always update on refresh. Firebug Companion would show
> updated information upon manual code changes. Developer Companion
> would not display expected logging info when clicking the builtin
> "Reload" button, or when clicking the "Inspect with Companion" link
> from Firebug. At somepoint in my evaluations, Developer Companion
> began to update more frequently. I then began to notice the Firebug
> Companion was not consistently showing logged info in the Firebug
> Console while Developer Companion was being updated.
Hmm. These issues should not be happening and I have not noticed this
before. I wonder if something is getting cached somewhere.
Most confusion centers around FirePHP::to('page') vs
FirePHP::to('request') and the fact that request data needs to be loaded
into the companion by triggering an inspect. This is a temporary
solution until I have a UI that tracks inspectable requests within the
companion (coming in the next couple of months). At that time you can
just click on the request in the companion or setup a "watch that URI".
> At this point, the Firebug Companion has proven to be more consistent
> and reliable with refreshing updated logging data. Despite some of
> the improved data capture of logged information, there have been other
> issues that just haven't improved. I'll list a few of those issues
> below.
>
> 1. Trace Data would sometimes not display at all or with any
> indication of error.
I would be interested to troubleshoot this via a remote screen sharing
session.
> 2. Developer Companion never displays the code file with line when
> clicking the binary looking icon for this feature.
> - Rather, I only get a black square with the text: The file is not
> accessible
That means your INSIGHT_PATHS constant or
implements['cadorn.org/insight/@meta/config/0'].paths config option in
package.json is not listing the roots of all your code trees for the
application.
> 3. Developer Companion appears to cache tabs with logged content, even
> after I completely changed the code that defined that tab. Instead,
> the new tab name would appear next to the old tab.
Hmm. I don't see how that can happen. I would be interested to
troubleshoot this via a remote screen sharing session.
> 4. When both Developer Companion and Firebug Companion both appear to
> not release old logging content, I have to close FireFox down
> completely to fully reset the cached content.
Ok. There is definitely something up. That should never be needed.
> There is so much more detail I could provide, however, I've covered
> the big issues for now. The rest of this is more information to help
> you isolate any specific reasons I'm running into these issues.
I understand. It is hard to assess something when stuff like this is
happening :)
> ****************************************************
> * Regarding Configuration Updates:
> ****************************************************
> I eventually modified my credentials.json file to accept "*" for
> allowed IPs and for Authorization Keys to see if there was something I
> did wrong here. This setting made no difference in my experience. The
> following configuration content appears consistently fine in the
> Developer Companion regardless of logging issues:
> - Package ("description")
> - Request ("url")
> - File ("message source")
If you get anything logged or showing up in the client your server
config is correct. The tool is designed to be unforgiving when
encountering any config problems to ensure proper security.
> ****************************************************
> * Regarding Code Samples:
> ****************************************************
> I've been experimenting with very basic logging statements to output
> simple strings to simulating recursive function calls to test stack
> traces. The code I've provided below works as it is. However, the
> logged output is not consistently captured by both clients.
I'll take a look at this and respond in a second message.
It would be great if we could jump on skype some time to troubleshoot
the caching issue you are experiencing.
My skype ID is: christophdorn
You can ping me any time.
Thanks again for the feedback!
Christoph
--
-------------------------------------------
Christoph Dorn - www.developercompanion.com
Rather than compare the output to the FirePHP 0.5.0 client extension I
would prefer to fix what you feel is incorrect/missing in
FirePHP/Developer Companion output.
I ended up fixing a bug in the object depth trimming and excluded the
Insight_Helper object from the output by default:
http://reference.developercompanion.com/#/Companion/News/
Also in your sample code I set the encoder.maxObjectDepth option to 1 so
less data is sent to the client for faster testing.
So if you want to take another look at the output with the new release
and updated sample we can go from there. It looks correct to me.
Christoph
On 11-03-10 6:35 PM, David Carroll wrote:
--
This sounds like a memory leak related issue and I should be able to
reproduce it. It's unfortunate that this has come up but am not really
surprised as the internals are not as clean as I would like (will
undergo major refactoring in the next couple of months).
I'll let you know when I find something.
Christoph
--
I have been able to reproduce this issue.
It seems to fail consistently on the 22nd reload with various payload
sizes. So it is probably not a memory related issue.
Can you confirm it happens on the 22nd reload for you as well.
Christoph
I expect the reload button to work as intended with the FF4 release.
Christoph