General developer forum

Debugging in Eclipse (Moodle 3.3)

 
Picture of sulagna behera
Debugging in Eclipse (Moodle 3.3)
 

Hello Moodlers


I want to debug moodle using eclipse. I'm unable to configure Xdebug. I followed the steps mentioned in the discussion in the mentioned url: https://moodle.org/mod/forum/discuss.php?d=93987 

I am new to this. So, Silly doubts ahead! smile

1. The ZendExtensionManager.dll  is not present in moodle. Is it for Zenddebugger or we need it to run the Xdebug?

2. After configuring, on running the debug,  i am getting the php warning "Xdebug must be loaded as a Zend extension in unknown line 0"


If anyone could help me out.


Thanks in advance. smile





 
Average of ratings: -
Picture of Mark Johnson
Re: Debugging in Eclipse (Moodle 3.3)
Core developersParticularly helpful MoodlersPlugin developers

It sounds like you might not have xdebug installed correctly.

They have a tool on their website which will provide you with bespoke instructions, just paste your phpinfo() (or php -i in the command line) output into the form: https://xdebug.org/wizard.php


 
Average of ratings: -
Picture of phani kumar
Re: Debugging in Eclipse (Moodle 3.3)
 

Hi sulagna behera,

    I want debug moodle can u help if u found any solution.I am using Xdebuger when I am stating deduging it was showing (waiting for Xdebug session) it not completing his thread. 

 
Average of ratings: -
Picture of Marcus Green
Re: Debugging in Eclipse (Moodle 3.3)
Core developersParticularly helpful MoodlersPlugin developersTesters

I have found vsedit to be a superior tool to either Eclipse or Netbeans and I have been using Netbeans for over 10 years.

https://code.visualstudio.com/

In my view it does a better job of working with xdebug than either of those alternatives.

 
Average of ratings: -