This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | debugger does not work on included file | ||
---|---|---|---|
Product: | php | Reporter: | Ashizawa Kazunori <kasha> |
Component: | Debugger | Assignee: | rmatous <rmatous> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | blaha, fzamboj, g11n, mikhailmatveev, pjiricka, tmysik |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 156220, 159141 | ||
Bug Blocks: | |||
Attachments: | screenshot |
Description
Ashizawa Kazunori
2008-11-05 08:33:16 UTC
Created attachment 73275 [details]
screenshot
I have an additional problem, which is probably a nested case of this bug: Breakpoints in files of the projects "include path" are not recognized too. changed to P1 since maybe only 1& scripts use no include files and this not working is quite evil :-) I've tested these scenarios: 1/step into into included file in sources 2/put breakpoint (and stop there) into included file in sources the same also for file on include path All cases worked for me (tested on Ubuntu) pretty well: the file was opened in editor, line was annotated (green color) as usual. So, the problem probably isn't so general and must be investigated deeply under which circumstances it may happen. So, I suggest to make it P2 priority and evaluate it. Target milestone: 7.0 Please try hetero-environment: NetBeans IDE on Windows, and apache on Solaris or Ubuntu. I think this kind of combination is quite popular. thanks, definitely we will do Mikha, please could you test && try to reproduce according to comments? Vika is looking at the issue. NetBeans IDE 6.5 (Build 200811100001) is ok for WinXP. will test for Sol10 I am on kubuntu + netbeans 6.5rc2 and it does not work. OK, problem probably isn't platform specific but rather project or configuration specific. Please could you prepare simple netbeans project (containing a few files) and attach it (as zip, tar ...) to this issue (http://www.netbeans.org/issues/createattachment.cgi?id=152390) and if needed, please give me deploying or configuration instruction (incl.path, mod_rewrite or whatever which deserves to be mentioned). Thanks in advance. *** Issue 153758 has been marked as a duplicate of this issue. *** i have the same problem and i found out, that the debugger "jumps" into the included file. the problem is, that the "matching" of the files did not work. if your ide is at windows and your web-server is linux that the ide can't map c:\xxx\yy\zzz\abc.inc.php to /var/www/abc.inc.php. i think the problem is about "/" versusu "\" and c:\ versus /var. its very weird, but now it works for me in the case of included files and include pathed files in the same project. I have setup a small project and even logged all the tcp traffic. Strange that it works now :-) @ vogelor: Indeed, that is one of the problems and this means the debugger in netbeans, sadly, is useless to me. When using Netbeans with source files stored on a networked drive, Netbeans will always send the local path (for setting breakpoints and what not) to the debugger, instead of the remote path - which is what you need. I have proposed a mapping system to be included in Xdebug ( see http://xdebug.org/archives/xdebug-general/1416.html - it also describes the problem) but the developers there felt it's the IDEs place to implement such a system. Apparently, PDT / PHPEclipse already do. This means the problem isn't XP-specific, by the way. Integrated into 'main-golden', will be available in build *200902241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/de338428008d User: Radek Matous <rmatous@netbeans.org> Log: source file and web server URI mapping related to #156220, #152390 II Radku, would it be possible to fix this issue for M3? I hope your current work could fix this... I changed the milestone because of many duplicates/requests. Thanks. I believe this issue is more or less duplicate of #156220. Could someone confirm that on recent dev builds this problem isn't reproducible? Current dev builds: http://deadlock.netbeans.org/hudson/job/PHP-build/ I need your feedback, thanks Other related issue was fixed: #159141 I consider this issue as closed because all know for me reproducible problems were fixed (#156220, #159141) and I've created RFE for custom path mapping(or better for its UI part because debugger itself is ready to use custom path mapping #159199) So, FIXED for me. For everyone: please, reopen if you still doesn't work for you in current dev builds - then please decsribe your scenario or maybe open new issue. *** Issue 152228 has been marked as a duplicate of this issue. *** |