fuelphp profiler doesn't work on Windows - fuelphp

I am trying to enable fuelphp profiler. According to their documents here I just have to
'profiling' => true,
However it is not working on Windows (any browser), but when I tried it on Mac its working, I used the same code, config, same version of PHP and fuelphp, etc.
I am using fuelphp version 1.5 and PHP version 5.6.
Fuelphp profiler really helps a lot, any clue how to fix this on windows?

finally I found a solution to this problem!!! i am using fuelphp version 1.5
on \core\vendor\phpquickprofiler\display.php on function loadCSS()
from
sheet.innerHTML = '$css';
to
sheet.innerHTML = `$css`;
Hope this will help us all. You may find the solution wierd, I find it wierd too! I just got a hint, saw some logs about 'sheet.innerHTML' on the console of firebug. I tried double quotes etc, but this one worked.

Related

Pop-up message showing " Did you attach the CPU-Profile?" while trying to run live server in VScode

I have Live-Server extension installed in my VSCode.
I was trying to run the live-server but a pop-up appeared as below:
This is a reminder to make sure that you have not forgotten to attach 'c\Users\HP\AppData\Local\Temp\ritwickdey.LiveServer-unresponsive.cpuprofile.txt' to an existing performance issue.
I couldn't find much recourses to understand what the issue was or what action I should take about it.
BTW: Live Server is not loading the browser-page by its own, but at port:5500 its running.
Please Help.
after researching i found this blog, where i got to know that its because of performance issue
https://www.nicoespeon.com/en/2019/11/fix-vscode-extension-performance-issue/
first thing bundle your vsCode extensions:https://code.visualstudio.com/api/working-with-extensions/bundling-extension
if that solves the issue then great if not then add this extension to vsCode
https://marketplace.visualstudio.com/items?itemName=nicoespeon.abracadabra
hope the first link will provide complete solution.
Happy Learning

VS Code Debug Console Double Spacing

As the title says, the debug console in VS Code is double-spacing for me. I'm using the OSX edition. Seems to work fine for others from what I've seen. Have tried it with multiple programs and it always double spaces.
I can't seem to find any setting to change this behaviour. Anyone able to help?
Thanks.
JT
After searching and testing I came to github where I filed a bug for this. It seems that it was known already under a different issue ID already, see https://github.com/Microsoft/vscode/issues/17526 for details.

Symfony cache eclipse xDebug

I have a really frustrating problem with eclipse PDT. When I am debugging I am getting exceptions all the time(which should not be there) I suspect the eclipse cached some of the files and this is the reason why I am getting those exceptions. I am sure that the code is correct at least where eclipse is throwing the exceptions since when I look at the code in NetBeans I can step over it without getting any exceptions whatsoever. There's a checkbox for symfony in NetBeans which can ignore the symfony cache and I guess that's why I am able to debug in there. However I very much like eclipse and I'd like to use it as a debuging and coding tool.
P.S.
I have cleared the symfony cached via cmd and tried again but I had no luck.
I am open to any suggestions that'd fix my issue, thanks!
P.S.2
I am using ecliplse luna and symfony 1.2
I know that it is too late, but I am posting the answer for any who might still struggle with this issue. The problem in my case was that in the debug view in eclipse I have had some variables that could not be resolved in the context when I was debugging (for example old variables that I have watched in other debug sessions). And when they were miscalculated eclipse's debugger had stopped responding. So if you have a similar problem my suggestion would be: first clear all previous variables from the debug view.

Can't step over code in Visual studio while debugging

I've been experiencing an issue with stepping through my code in Visual Studio 2013.
These seems like a fairly serious issue so I'd be surprised if no one has noticed anything like this. As you can see in the screenshot below I, while paused in the debugger both Step Into and Step Over are disabled. However this issue also seems to be temporal as they do come back after about 10 or 20 seconds. It's probably also worth mentioning sometimes it's just Step Over, sometimes just Step Into and sometimes both.
I have a feeling this might be due to a plugin. The main plugins I have installed at the moment are ReSharper 8.1, Reflector and Web Essentials.
I've tried searching around but can't seem to find anything. Is this a know issue anywhere?
The cause of the issue was the Reflector Pro 8.3.2.99 plugin as #faceman suggested. Disabling the plugin corrects the issue.
It looks like there may be a fix:
http://forums.reflector.net/questions/4748/reflector-extensions-breaks-f10-functionality.html

MATLAB help/documentation not displaying correctly

I'm having a problem with the built-in help/documentation within MATLAB 2013a (issue also present in 2012b).
Upon opening the help files the pages appear with no formatting, only plain text. Search results do appear correctly though.
I have found only one instance of someone else with this issue, on MATLAB central here. However, there are no responses to the author's question. The issue I'm having is exactly the same as described there.
I have tried removing the preference folder and relaunching MATLAB but this doesn't help.
I'm using Windows 8.1 and MATLAB 2013a.
Any help or suggestions on how to fix this would be very much appreciated.
Edit:
Thank you everyone for the feedback so far. I don't believe java to be the issue, I have the latest version installed (1.7.0_45) while MATLAB uses it's own version (1.6.0_17). Both of which co-exist on my machine.
Following horchler's thread led me to another semi-related bug report here. The following code is listed at the bottom of the workaround (the script attached to the workaround didn't fix anything unfortunately).
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
This results in a degraded appearance of documentation pages and loss of some functionality but is still an improvement over the plain text and scrambled pages.
Hopefully from this new information we can work towards a solution!
One solution is to go back to IE-10, or to use the patch on http://www.mathworks.com/support/bugreports/989850
Which basically replaces the localnav.js at <MATLAB>/help/includes/product/scripts
The link to download!
This is an old post, but I had the same issue and have a fix (not downloading R2013b or java related). Just downgrade from IE 11 to 10: Go to System (or System & Security)->Windows Update->View Update History->Installed Updates -> Find IE11 and uninstall it. Your system should revert back to the prior installed version. This fixed the help issues.
The problem is related to Internet Explorer 11, which MATLAB uses to render its help files. I was experiencing this problem in Windows 7 and rolling back to IE 10 fixed it right up. Unfortunately, that's not an option with Windows 8.