Please review fix for 197464
Egor Ushakov <[email protected]> Wed, 06 Apr 2011 16:32:08 +0400
| Newsgroups | gmane.comp.java.netbeans.reviewers |
|---|---|
| Message-ID | <[email protected]> |
Bug: https://netbeans.org/bugzilla/show_bug.cgi?id=197464 Fix: http://hg.netbeans.org/cnd-main/rev/66593df7f9fb The problem is that on Windows (and Mac) we use executable taken from ps output to load into debugger. On Unix systems ps returns command line with arguments so we shrink command line to the first space - which is incorrect. Anyway it worked on Solaris and Linux because we use procfs to determine real executable name there (there is no procfs on Windows and Mac). So the fix is to remove this "shrink to the first space" functionality: on Windows ps does not include arguments and it will work fine, on Solaris and Linux executable is taken from procfs anyway. Fix is verified by QA. Fix is reviewed by Vladimir Voskresensky. Thanks, Egor <javascript:void(0);>