Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sayed Ahmed BSc. Eng. in Computer Engineering, BUET, Bangladesh MSc., Computer Science, U of Manitoba, Canada Software/Computer Engineer, Canada

Similar presentations


Presentation on theme: "Sayed Ahmed BSc. Eng. in Computer Engineering, BUET, Bangladesh MSc., Computer Science, U of Manitoba, Canada Software/Computer Engineer, Canada"— Presentation transcript:

1 Sayed Ahmed BSc. Eng. in Computer Engineering, BUET, Bangladesh MSc., Computer Science, U of Manitoba, Canada Software/Computer Engineer, Canada http://www.justetc.net http://sayed.justetc.net sayed@justetc.net

2  WAMP: The platform in windows  http://www.wampserver.com/en/ http://www.wampserver.com/en/  Netbeans IDE: use the PHP column  https://netbeans.org/downloads/ https://netbeans.org/downloads/  Xdebug included  Install the Wamp, run it  Configure and Start Apache  Install Netbeans, and run it

3

4

5 Project Name->right click->select properties

6

7

8

9  Tools->options, then PHP, then debugging

10

11  To enable xdebug debugging in Netbeans IDE php.ini needs some configuration [You will be able to debug PHP applications the way you do in Visual Studio, Turbo C/C++ IDE]  php.ini configuration Required  ;XDEBUG Extension zend_extension = “c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug- 2.2.3-5.4-vc9-x86_64.dll”  [xdebug] xdebug.remote_enable=true xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.profiler_enable=1 xdebug.profiler_output_dir = “c:/wamp/tmp”

12  Configuration Required in Netbeans IDE:  1. Set the Project URI to the path under your web- server; as you can see the site in a browser; the path shown in the browser address bar. Right click the project, click properties, click run configuration, set the Project URI. Example: http://127.0.0.1:800/example_projects/TodoList/web/  2. Go to Tools->Options->PHP->debugging. see if the parameters are ok, if not fix them. Also, set the properties you want. You may check ‘Watches and Balloon evaluation’

13  You can set the breakpoints in your project  You can select debug or debug file from menu or from right clicking on the project  Then you can use the Step Over, Step Into, Step Out from debug menu or shortcut keys [better] —  You can also check the values of the variables  You can also check the status of the stack and see all breakpoints listed; there is a window for that  I will add pictures or pdf slides with screen shots to make you understand it better.

14  Training and Education in Bangla:  http://Bangla.SaLearningSchool.com http://Bangla.SaLearningSchool.com  http://Blog. SaLearningSchool.com http://Blog. SaLearningSchool.com  Training and Education in English:  http://www.SaLearningSchool.com http://www.SaLearningSchool.com  http://English.SaLearningSchool.com http://English.SaLearningSchool.com  http://www.SitesTree.com http://www.SitesTree.com ---------------------------------------------------------------------------------  Ask questions and get answers  http://Ask.JustEtc.net http://Ask.JustEtc.net ---------------------------------------------------------------------------------  Offline IT Training:  http://University.JustEtc.net http://University.JustEtc.net

15  Trudelle Street, Toronto, Canada  sayed@justetc.com  Shimultuly, Gazipur, Bangladesh  Justetc Computers  Habib Complex, 2 nd Floor  rafik@justetc.com (01942747702) rafik@justetc.com

16 http://ask.justetc.net


Download ppt "Sayed Ahmed BSc. Eng. in Computer Engineering, BUET, Bangladesh MSc., Computer Science, U of Manitoba, Canada Software/Computer Engineer, Canada"

Similar presentations


Ads by Google