Bug 208856 - Cannot debug C/C++ program
Cannot debug C/C++ program
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: eclipse-cdt (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnston
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-02 09:35 EDT by Andrew Overholt
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-12 14:50:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
workspace/.metadata/.log snippet (1.40 KB, text/plain)
2006-10-02 09:35 EDT, Andrew Overholt
no flags Details

  None (edit)
Description Andrew Overholt 2006-10-02 09:35:39 EDT
Description of problem:
Cannot debug C/C++ program

Version-Release number of selected component (if applicable):
eclipse-cdt-3.1.1-1.fc6
gdb-6.5-8.fc6

How reproducible:
?  Always for me.

Steps to Reproduce:
1. New->C->Managed Make project
2. New->C->Source file
3. Add main method, add printf("blah\n");
4. Add breakpoint on printf statement

Actual results:
Error:  "Failed to set program arguments, environment, or working directory"

Expected results:
Switch to debug perspective and stop on breakpoint

Additional info:
It seems to be some sort of MI error.  This is printed in the Eclipse console:

No symbol "new" in current context.
mi_cmd_env_cd: Usage DIRECTORY
Comment 1 Andrew Overholt 2006-10-02 09:35:39 EDT
Created attachment 137541 [details]
workspace/.metadata/.log snippet
Comment 2 Jeff Johnston 2006-10-12 14:50:32 EDT
Works fine on local FC6 system with updated gcc (includes patch to fix project
save error).

Note You need to log in before you can comment on or make changes to this bug.