User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bruno.arruda » Sat Feb 11, 2012 5:42 am

I have the same issue with PDT and Codelobster, I am able to debug index.php but unable to debug a controller for instance, could someone please help with this "issue"? Any instructions??

It is very important to me to debug cause it also helps to understande some parts of the code...

Thanks in advance,

Best Regards

Newbie

Posts

Joined
Sat Nov 05, 2011 6:00 am

Post by Qphoria » Sat Feb 11, 2012 10:25 am

The only debugger i found to be any good is phped.
phpdesigner and codelobster were both flaky when it came to debugging.
phped is pricey but totally worth it and works perfectly with opencart and all other scripts I've tried with it.

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by madimar » Sun Feb 12, 2012 4:08 pm

I didn't try phped, but I've been working and debugging fine with codelobster for one year up to now.
Also the debugger set up was really easy (with respect to eclipse, I wasn't able to set up in one week!!!)
M

Sent from my Desire HD using Tapatalk

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by bruno.arruda » Mon Feb 13, 2012 11:57 pm

with codelobster and eclipse, if I put a breakpoint at the controller the debug doesnt stop at, just at the index it works, the same for eclipse ...

dont know what Im doing wrong...

Newbie

Posts

Joined
Sat Nov 05, 2011 6:00 am

Post by Qphoria » Tue Feb 14, 2012 12:17 am

bruno.arruda wrote:with codelobster and eclipse, if I put a breakpoint at the controller the debug doesnt stop at, just at the index it works, the same for eclipse ...

dont know what Im doing wrong...
Same here.. it worked on the first file but none of the controllers for me in codelobster

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by bruno.arruda » Tue Feb 14, 2012 2:53 am

Tried the PHPed too, I think I got the same problem, but the trial has a LIMIT for 50 debug sessions :O

So the program closed at my screen..

Very disapointing..

I´m very frustrated with this whole issue...

Newbie

Posts

Joined
Sat Nov 05, 2011 6:00 am

Post by MrSmileyJr » Fri Jan 25, 2013 5:41 am

2 years later... have any recommendations of yours changed (all those who recommended...) :-)

Never lose data again! Use Dropbox - DO THIS BEFORE YOU SIGNUP for Extra Space!!
http://db.tt/inKP3mv Signing up via this link gives you a bonus of 256 MB
More Bonuses: http://www.dropbox.com/free .5 GB
http://www.dropbox.com/edu = double your bonus referrals by giving an edu address.
Total ~ 3gb


New member

Posts

Joined
Fri Mar 11, 2011 5:07 am

Post by madimar » Fri Jan 25, 2013 7:36 am

Still working fine with wamp, free codelobster and notepad++

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by rph » Fri Jan 25, 2013 7:39 am

I'll just chime in with what I'm using now which is AMPPS for the dev environment with Notepad++ for simple work and Netbeans for more complex development (Netbeans can be a bit of a resource hog but the price is right).

I've seen a lot of people swear by PHPStorm but I've found setting up Xdebug to be a real hassle so I've never properly tested it myself.

For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by madimar » Fri Jan 25, 2013 2:39 pm

rph wrote:For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.
I've been using WinMerge for file compare but this Beyond Compare sounds really interesting.
Do you have standard or pro version?

M


Sent from my iPad using Tapatalk

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by rph » Fri Jan 25, 2013 4:23 pm

I have Pro. It's a one-time cost so I figured an extra $20 is no big deal plus I believe I found a coupon.

I'd definitely suggest trying out the demo. It lasts ages as you only use a day of your 30-day demo period if you actually open Beyond Compare up.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Nirus » Fri Apr 19, 2013 11:49 pm

I am using NetBeans with xdebug configured. Its totally rocking for opencart. Very comfortable...

Steps:
-install Netbeans php version
-Install xampp
-do opencart installation as per the documentation says
-Import the xampp/htdocs/*Opencart installation* directory as PHP project in netbeans(Google how to import exsisting php proj in netbeans if u dont know how to)
-open xampp/php/php.ini
-find string "[XDebug]"
Paste the below:

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_enable = 1
xdebug.idekey="netbeans-xdebug"
xdebug.remote_handler=dbgp
xdebug.remote_enable=on
xdebug.remote_port=9000
xdebug.remote_host = "127.0.0.1"

-Goto netbeans->debug->Attachdebugger-> change Port number: 9000
-Restart Xampp Server
-Place Breakpoints anywhere in your project
-now click on your imported project->select debug

Boom!!!! Work is on...

Note: if you still didnt figure it out how to , browse xdebug configuration in google..
Last edited by Nirus on Sun Apr 21, 2013 12:55 am, edited 1 time in total.

Newbie

Posts

Joined
Tue Jan 22, 2013 2:09 am

Post by Qphoria » Sat Apr 20, 2013 2:35 am

- I still swear by NuSphere PhpED (uses Dbg)
- Using usbwebserver as my local development server as its all localized storage so I can keep it on dropbox and work from anywhere.
- Notepad++ for quick editing

I've tried a few others, codelobster, phpadvanced, eclipse with XDebug... I could never get XDebug to work right. PHPed is the only one that I can consistently get to work throughout the entire run process.. even with ajax callbacks

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rph » Sat Apr 20, 2013 4:49 am

The Xdebug website will give you tailored instructions on getting it up and running just by pasting in your phpinfo() here.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Nirus » Sun Apr 21, 2013 1:03 am

but NuSphere Phped and DBG are paid.. its not free... If u are looking for free no cost setup go with Netbeans PHP and Xdebug..

NetBeans comes with Apache or Glassfish servers .. easy to setup. Run it from Netbeans.. and run PHP apps.. Good intellisense for code suggestions, Documentation support. Loads of stuff come bundled... Refer the above post for the env setup

Good choice for open source progies.. Hopefully this post helps you!! Keep coding Make OpenCart the best..

The best ecommerce framework - opencart O0

Newbie

Posts

Joined
Tue Jan 22, 2013 2:09 am

Post by madimar » Sun Apr 21, 2013 2:44 pm

I've been using for years: wamp, codelobster, notepad++ on windows environment. Everything installed on Dropbox. Easy setup, perfectly fits my needs. Finally it is a free solution.
M


Sent from my iPhone using Tapatalk

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by Qphoria » Mon Apr 22, 2013 3:30 am

madimar wrote:I've been using for years: wamp, codelobster, notepad++ on windows environment. Everything installed on Dropbox. Easy setup, perfectly fits my needs. Finally it is a free solution.
M


Sent from my iPhone using Tapatalk
And you can debug with codelobster on more than the index.php file?

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by madimar » Tue Apr 23, 2013 1:19 pm

Yes, sure!
M

Sent from my DesireHD.

-----------------------------------------------------------------------
My last mods: Partita IVA e CF | Pro EU VAT Number | Sales Agents | Pricelist Pro
-----------------------------------------------------------------------


User avatar
Active Member

Posts

Joined
Thu Sep 24, 2009 6:27 pm


Post by Qphoria » Tue Apr 23, 2013 9:46 pm

madimar wrote:Yes, sure!
M

Sent from my DesireHD.
I'll have to try this again then.

OpenCart 2.0.x Mod Update Info

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: Bing [Bot] and 13 guests