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 153068 - 'Run project' uses /cygdrive path
Summary: 'Run project' uses /cygdrive path
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 20:07 UTC by Alexander Pepin
Modified: 2016-07-06 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2008-11-12 20:07:49 UTC
Steps to reproduce:
- run IDE
- add MinGW tools collection with 'make' from MSYS and set it as default
- create any sample e.g. Quote
- clean and build it
- run it
- try attach debugger
Result: Attach debugger window contains a process with path e.g. /cygdrive/c/working/...
If MinGW is being used then it's not expected to see any cygwin stuff. I think it also should affect debugging as this
process is not visible from MSYS terminal.
Comment 1 _ gordonp 2008-11-12 22:42:37 UTC
I'll take a look at this but I'm fairly certain the answer will be WONTFIX. When the attach panel
is displayed, it looks for either a MinGW or Cygwin ps command (functionally speaking, it doesn't
matter which it finds). If its a Cygwin ps then ps will output Cygwin paths. As far as the attach
feature goes, it doesn't care which path format is used (I think - and will verify). So there is
no functional defect.

As far as fixing this, I'd have to parse ps output, recognize paths, and convert. I can think of
several use cases where *this* would cause a functional defect.
Comment 2 Alexander Pepin 2008-11-13 14:22:46 UTC
I believe that we should transform paths to Windows manner so that it looks like
c:\Users\bla-bla....\quote_1.exe
Comment 3 Alexander Pepin 2008-11-13 15:03:37 UTC
about functional defects please see also issue #151610