[ https://issues.apache.org/jira/browse/NETBEANS-5228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264349#comment-17264349 ]
Tomáš Procházka commented on NETBEANS-5228: ------------------------------------------- Steps to create beakpoint for method: - Open Breakpoints window. - Click Create new breakpoint icon or select Debug > New Breakpoint - In New Breakpoint dialog select Breakpoint Type "Method" - Type method name - Select if breakpoint is for method entry or exit > Enable 'return' breakpoint support in PHP debugger > -------------------------------------------------- > > Key: NETBEANS-5228 > URL: https://issues.apache.org/jira/browse/NETBEANS-5228 > Project: NetBeans > Issue Type: Improvement > Components: php - Debugger > Affects Versions: 12.2 > Reporter: Tomáš Procházka > Assignee: Tomáš Procházka > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > PHP debugger in NetBeans supports both [function > breakpoints|https://xdebug.org/docs/dbgp#breakpoints] - 'call' and 'return'. > Breakpoint for exit from function (Xdebug type 'return' ) can't be created, > because it is now disabled in New Breakpoint dialog. > This commit disabled type selection: > https://github.com/emilianbold/netbeans-releases/commit/90e2eb44c419469688b33a1a1eb88bde783abc6a > NetBeans bug record https://bz.apache.org/netbeans/show_bug.cgi?id=132062 > states that it is because of bug in Xdebug. > I was able find related Xdebug issue https://bugs.xdebug.org/view.php?id=378 > Xdebug issue was marked marked as fixed/not reproducible in year 2009. > So I think it is now safe to enable 'return' breakpoints again. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists