Breakpoint not hit in Wordpress template file.

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Breakpoint not hit in Wordpress template file.

Postby comcanh » October 13th, 2016, 3:32 pm

I debug a Wordpress project. I set breakpoints in the theme source file. The program stop at the breakpont set in function.php but not stop at php template file (index.php, header.php ...). please tell me what i need to fix it.
comcanh
 
Posts: 1
Joined: October 13th, 2016, 3:13 pm

Re: Breakpoint not hit in Wordpress template file.

Postby Miloslav Beno » October 14th, 2016, 1:27 pm

Hello,

There are several places where breakpoints won't stop because php just doesn't evaluate it (e.g. left curly brace) or it's known limitation https://docs.devsense.com/debugging/breakpoints#known-issues

Also make sure this theme script is really evaluating, isn't cached or something.

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 47 guests

cron

User Control Panel

Login

Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 47 guests