Tags » Debug

PHP profiling/debugging with Xdebug and Webgrind

  1. Install Xdebug
  2. cd /var/www/ (where your web servers document root is set)
  3. git clone https://github.com/jokkedk/webgrind

More info at https://github.com/jokkedk/webgrind/wiki/Installation

Php

Sonic Mania Has Some Cool Secrets And Cheats

(Source: kotaku.com)

Some might joke that the biggest surprise about Sonic Mania is that it was a good Sonic game. The game does have actual secrets, though, and they’re really fun. 179 more words

Technology

Linux Kernel: Print Callee and Caller

Print the callback function name

If you cannot trace which function gets called when you call from core driver using function pointer, you can print function name using pf format specifier. 167 more words

Kernel

Your Amazon Echo is a spy in plain sight

(Source: www.hardwarezone.com.sg)

Your Amazon Echo is a spy in plain sight

British researcher Mark Barnes has just demonstrated a technique that will allow anyone with physical access to an Amazon Echo to install malware to it, letting anyone eavesdrop on your conversations. 371 more words

Technology

Debug office Add-ins

You could get logs of internal errors on the Office Addin using following method. Its simple and easy and involved few steps achieve.

Open Windows registry editor (windows + R then regedit.exe) and follow the route “HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Wef\Developer\” and mention your location to write logs. 40 more words

Office Development

How to easily find slow queries at MongoDB

Enable profiling

First, you have to enable profiling.

> db.setProfilingLevel(1)

Now let it run for a while. It collects the slow queries ( > 100ms) into a capped collections, so queries go in and if it’s full, old queries go out, so don’t be surprised that it’s a moving target. 37 more words

Dealing with the RTL8723BE Wireless Network Adapter & Ubuntu

This wifi card is killing me …

2 years ago I’ve bought a Lenovo laptop. Ubuntu got installed smoothly on it. The only problem was the wifi. 331 more words

Debug