Welcome To Snipplr


Everyone's Recent Snippets Tagged debug



Note: This example uses Arthropod Debugger (AIR App) which can be downloaded from here http://arthropod.stopp.se/
1 1729 posted 15 years ago by adrianparr
1 1800 posted 15 years ago by jmiller
0 1275 posted 15 years ago by ashsa
I'm originally a sys admin and i love "tail - f /var/log/*" ... so i created a similar function in PHP that will allow me to view in real time what classes/functions/files/lines of my code is being run... The usage is really simple, just set a glo...
1 3386 posted 15 years ago by sadus
0 1019 posted 15 years ago by iusik
You can get the last query by using the following code. Insert the first line before the query and TYPO3 will store each query. You can get the last query with the second line.
3 1865 posted 15 years ago by pogosheep
This is the PHP code to debug any variable ..
1 1543 posted 15 years ago by xkeshav
When working in PHP I sometimes want to know exactly what is in a variable. This is easy enough to find out, but having this function around it is even easier, as it includes the HTML pre tag making it easier to read, and it allows you to choose how...
1 1678 posted 15 years ago by Sverri
0 1382 posted 15 years ago by eHouseDev
List of breakpoints for debuging with gdb. Add them to your ~/.gdbinit.
0 1760 posted 15 years ago by zingo
1 2605 posted 15 years ago by vagrantradio
1 1567 posted 15 years ago by chrisdpratt
Use to debug javascript in all browsers.
0 1415 posted 15 years ago by Meander365
0 1229 posted 15 years ago by evertwh
0 1443 posted 16 years ago by snippetsdemo
This rule lets you print the contents of any variable for debugging purposes. Usage: > gmake echo_SOURCES SOURCES = main.c foo.c
1 3525 posted 16 years ago by michaelaskew
Add snippet in BaseFormPropel.class.php
1 1974 posted 16 years ago by skwok
0 1238 posted 16 years ago by aadsm
Just include this script on the site and you’ll get a Firebug console that pops up for debugging in any browser. Not quite as full featured but it’s still pretty helpful! Remember to remove it when you are done.
1 1652 posted 16 years ago by paulgrenwood
to
0 1234 posted 16 years ago by mware1205
Javascript time execution utility: Use: var otd = new timeDebugger(); otd.start(); alert(otd.end());
1 1756 posted 16 years ago by marcocs
0 1475 posted 16 years ago by gerhardsletten
When I'm running unit tests, I find it very annoying to have to check equality within loops when I've got two collections of data. I know of no built-in way (let me know if there is one) [Edit: [CollectionAssert](http://msdn.microsoft.com/en-us/libra...
0 1617 posted 16 years ago by pckujawa
This can be used instead of "trace" to populate a text field in addition to the standard trace output. The textfield stays hidden until a selected key combination is pressed, thus allowing you to use it in a staging or, if need be, a production envir...
0 3552 posted 16 years ago by Winkyboy
How to replace sleep(2), for your PHP code. Ideal testing hosting/dns ping.
1 1879 posted 16 years ago by nicolaspar
A custom compression script I use for auto compression and gzip compression of my css & files. Also allows for 'debug' mode (uncompressed). You simply include the core.css & core.js in your <head>
0 1630 posted 16 years ago by iloveitaly