• support[@]kurinchilion.com
  • +1 (888) 666-4252

Tags

How to debug PHP programs with XDebug and Notepad++?

Aug 28, 2012 - by kurinchilamp / / Post Comment
XDebug provides a lot of useful information to a PHP programmer to debug code thus saving time and increasing efficiency. As a first step, check the version of PHP you are running by creating phpinfo() in a file. When the program is executed you will see a line of text showing the version of PHP you are using This program makes use of the Zend Scripting Language Engine: Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Now that we know the version of PHP we are using, we can download the relevant xdebug version to to debug PHP programs with Notepad++ We will setup Notepad++ with xdebug and dbgp plugin. (more…)
Continue Reading

To debug struts, add the below line in the struts.xml file

Feb 14, 2011 - by kurinchilamp / Java / Post Comment
//struts.xml <struts> <constant name="struts.devMode" value="true" /> ..... </struts>
Continue Reading

Perl: How to debug in Perl?

Apr 30, 2010 - by kurinchilamp / Perl / Post Comment
Turn on warnings by use warning; To run a perl script with warnings, type -w with the shebang as in #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "Hello World\n"; Check if you have the following line in the program print "Content-type: text/html\n\n"; This will output the text to the browser from the server. Print error messages to the browser using use CGI::Carp qw(fatalsToBrowser); The other way is to use the print command to debug your program. Common error messages » The specified CGI application misbehaved by not returning a complete set of HTTP headers. » Can't locate missing-file.pm in @INC (@INC contains: ..... )
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.