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.

Bug 255888 - Remote project, which was opened via sym link, debug points are not visible while debugging
Summary: Remote project, which was opened via sym link, debug points are not visible w...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: henk89
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-13 07:59 UTC by defned
Modified: 2016-04-20 15:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch (6.30 KB, patch)
2016-01-29 14:46 UTC, henk89
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description defned 2015-10-13 07:59:52 UTC
[ BUILD # : 201510110923 ]
[ JDK VERSION : 1.8.0_45 ]

STEPS:
   * Open a project via fs sym link.
   * Place breakpoints (these are visible in this phase)
   * Start debugging then the breakpoints are not visible anymore but they are working properly

ACTUAL:
   * Breakpoints will be hidden after debug session was started

EXPECTED:
   * Breakpoints are visible on sym link path project
Comment 1 Vladimir Kvashin 2016-01-28 09:53:33 UTC
Below are comments restored after NB failure:

--- Comment #1 from Vladimir Kvashin <vkvashin@netbeans.org> ---
As I understand debugger in fact stops at breakpoints, but breakpoints aren't
highlighted in editor, the editor tab with the appropriate file is not
activated, etc. Is that correct?

I observe the behaviour I described on local projects as well.
I created a link to NetBeansProjects directory.
When I open a project (i tried Quote) via link, breakpoints aren't shown.
When I open the same project without link, everything works fine.

Breakpoints window shows canonic paths.
Editor shows path with links (since I opened files from project view to set
breakpoints).
If I close all files and then open them via double-clicking breakpoints in
breakpoints panel - everything works ok.

--- Comment #2 from defned@netbeans.org ---
Yes, you are right.(In reply to Vladimir Kvashin from comment #1)
Comment 2 henk89 2016-01-29 14:46:53 UTC
Created attachment 158289 [details]
patch
Comment 3 Vladimir Kvashin 2016-03-16 16:58:30 UTC
There is a patch vy Nikolay attached. As I remember, the attached fix was done right before patch1, that's why it wasn't pushed, but just attached as a patch.

Isn't it time now to apply the attached patch and include it into the next update?
Comment 4 Vladimir Kvashin 2016-04-01 16:30:52 UTC
Fixed in cnd-main
http://hg.netbeans.org/cnd-main/rev/fcaa587b6af1
Comment 5 Quality Engineering 2016-04-05 01:45:03 UTC
Integrated into 'main-silver', will be available in build *201604050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fcaa587b6af1
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #255888 - Remote project, which was opened via sym link, debug points are not visible while debugging
Comment 6 Vladimir Kvashin 2016-04-15 16:59:52 UTC
verified in builds on enum server
Comment 7 soldatov 2016-04-20 15:17:51 UTC
Verified in NetBeans 8.1 with latest updates.