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 245209 - After last update NB thinks that the path to GDB in absent or invalid
Summary: After last update NB thinks that the path to GDB in absent or invalid
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 08:23 UTC by mariusz_m
Modified: 2014-07-08 11:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Tool collection configuration (52.62 KB, image/png)
2014-06-24 08:25 UTC, mariusz_m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2014-06-24 08:23:07 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b70


After last update, every time when I click Debug Project I get window with toolchain configuration that says the  gdb path is invalid, however when I click OK everything works fine. It happens with one of my gcc toolchains, the second still works fine. 
Do You need my IDE configuration or something?
Comment 1 mariusz_m 2014-06-24 08:25:13 UTC
Created attachment 147752 [details]
Tool collection configuration
Comment 2 Maria Tishkova 2014-06-24 13:49:45 UTC
Sorry for the problems introduced with the update

Incorrect usage of Tool.getName() .
New SPI is introduced which allows to understand if the Tool can be used for this particular debuggerID

Fixed in trunk.
2 separate fixes: impl and spec inc

changeset:   275021:939185200728
tag:         tip
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Tue Jun 24 17:50:40 2014 +0400
summary:     part fix for  bz#245209  After last update NB thinks that the path to GDB in absent or invalid

changeset:   275020:27d3c22245d0
user:        Maria Dalmatova <mromashova@netbeans.org>
date:        Tue Jun 24 17:50:39 2014 +0400
summary:     part fix for  bz#245209  After last update NB thinks that the path to GDB in absent or invalid
Comment 3 Quality Engineering 2014-06-25 02:31:35 UTC
Integrated into 'main-silver', will be available in build *201406250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/27d3c22245d0
User: Maria Dalmatova <mromashova@netbeans.org>
Log: part fix for  bz#245209  After last update NB thinks that the path to GDB in absent or invalid
this fix introduces new SPI DebuggerToolRecognizer which will check if the toolchain Tool is actually of needed debugger id type
the fix with spec version inc will be in separate changeset
Comment 4 Quality Engineering 2014-07-07 14:40:50 UTC
Integrated into 'releases/release80', will be available in build *201407071338* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/5bc3ece83f2c
User: Maria Dalmatova <mromashova@netbeans.org>
Log: part fix for  bz#245209  After last update NB thinks that the path to GDB in absent or invalid
this fix introduces new SPI DebuggerToolRecognizer which will check if the toolchain Tool is actually of needed debugger id type
the fix with spec version inc will be in separate changeset
(transplanted from 27d3c22245d0f670b895fc7078c2fe9693a70456)
Comment 5 Alexander Pepin 2014-07-08 11:09:05 UTC
verified in Netbeans 8.0 with installed updates (patch2). Staging UC is OK as well.