Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Project Debug setup

Hi Brian,

Can eclipse open hello.c in source editor if running with CDT? Please check the project properties. Maybe some settings are not right, so eclipse will look for hello.c in Debug folder.

Regards,
Clement

Henerey, Brian wrote:

Both of these were set correctly.

------------------------------------------------------------------------

*From:* ptp-dev-bounces@xxxxxxxxxxx [mailto:ptp-dev-bounces@xxxxxxxxxxx] *On Behalf Of *Greg Watson
*Sent:* Monday, September 18, 2006 11:26 PM
*To:* Parallel Tools Platform general developers
*Subject:* Re: [ptp-dev] Project Debug setup

Brian,

Open Window->Preferences then select Perspectives from the Run/Debug item. Select Parallel Application from the Application Types. Check that the Debug drop down menu is set to PTP Debug and the Run drop down menu is set to PTP Runtime.

Greg

On Sep 18, 2006, at 2:26 PM, Henerey, Brian wrote:



I am creating a Managed Make C project to run a parallel Hello World test job and have a problem.

When I am in the C/C++ perspective, I right-click on the project folder, and select Debug As, Debug. I make a new Parallel Application, give it a name, and select the application to be Debug/testPhello. This is the folder where the debug executable is created. I set the number of processes to 2, and select SDM to be the debugger. When I click Debug, it saves my settings, initializes the debugger, and puts me back into the C/C++ perspective.

Here I notice that a new hello.c file is opened in the editor. When I click on it’s tab, it says: /testPhello/Debug/hello.c does not exist. I don’t know why it’s looking inside the Debug folder for the source file. I tried putting a copy of hello.c inside the Debug folder but this did not change things.

If I ‘Run’ the job, everything works as expected. I can see what I’ve done differently between Run and Debug. Any suggestions? I’ve built and rebuild new projects trying to eliminate my mistake, but I am clearly doing something wrong.

Thanks in advance,

Brian

PS. I can get around this with a non-managed Makefile, but I’m hoping to understand/use the Eclipse Build features.

_______________________________________________

ptp-dev mailing list

ptp-dev@xxxxxxxxxxx <mailto:ptp-dev@xxxxxxxxxxx>

https://dev.eclipse.org/mailman/listinfo/ptp-dev

------------------------------------------------------------------------

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top