mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Bug 133964: getBinary() method in CDebuggerTab always returns null.
This commit is contained in:
parent
326fcbaa4f
commit
3582f6f800
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-05-23 Mikhail Khodjaiants
|
||||||
|
Bug 133964: getBinary() method in CDebuggerTab always returns null.
|
||||||
|
* CDebuggerTab.java
|
||||||
|
|
||||||
2006-05-17 Mikhail Khodjaiants
|
2006-05-17 Mikhail Khodjaiants
|
||||||
Moved the new static methods from AbstractCLaunchDelegate to the new utility class.
|
Moved the new static methods from AbstractCLaunchDelegate to the new utility class.
|
||||||
* AbstractCLaunchDelegate.java
|
* AbstractCLaunchDelegate.java
|
||||||
|
|
|
@ -295,6 +295,9 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
|
||||||
IPath exePath = new Path(programName);
|
IPath exePath = new Path(programName);
|
||||||
if (projectName != null && !projectName.equals("")) { //$NON-NLS-1$
|
if (projectName != null && !projectName.equals("")) { //$NON-NLS-1$
|
||||||
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
|
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
|
||||||
|
if (!exePath.isAbsolute()) {
|
||||||
|
exePath = project.getLocation().append(exePath);
|
||||||
|
}
|
||||||
ICExtensionReference[] parserRef = CCorePlugin.getDefault().getBinaryParserExtensions(project);
|
ICExtensionReference[] parserRef = CCorePlugin.getDefault().getBinaryParserExtensions(project);
|
||||||
for (int i = 0; i < parserRef.length; i++) {
|
for (int i = 0; i < parserRef.length; i++) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue