|
|
Re: Problem debugging a wxWidget application with Eclipse [message #781309 is a reply to message #775224] |
Fri, 20 January 2012 23:33 |
gothyaknow gothyaknow Messages: 4 Registered: January 2012 |
Junior Member |
|
|
I solved it.
Click on "Debug configurations..."
Set your C/C++ Application and Project.
Click on the tab "arguments" and look at the Working directory: it should be wrong, like:
${workspace_loc:project_name}
Change to something like
${workspace_loc:project_name\Debug} or whatever is the right path.
Most important, click on the Debugger tab and check Load shared library symbols automatically. Then, on Source tab, check Search for duplicate source files on the path.
That's it.
EDIT:
Also enable autobuild.
[Updated on: Sat, 21 January 2012 00:20] Report message to a moderator
|
|
|
|
|
Re: Problem debugging a wxWidget application with Eclipse [message #944709 is a reply to message #775224] |
Mon, 15 October 2012 04:26 |
Ed Bart Messages: 1 Registered: October 2012 |
Junior Member |
|
|
Right click on the project, go to Debug As - Debug Configurations - Debugger tab - And unclick "Stop on start up at" (which in my case was saying Main). I am not an expert at all, but I think the debugger is trying to stop on the Main at startup and something related to the widget creates the problem (?).
Note: in my case, I was getting the Can't find a source file at "../mingw/main.c"
Locate the file or edit the source lookup path to include its location... with Qt in Eclipse... Hopefully helps...
[Updated on: Mon, 15 October 2012 04:27] Report message to a moderator
|
|
|
Re: Problem debugging a wxWidget application with Eclipse [message #1719651 is a reply to message #944709] |
Mon, 11 January 2016 05:44 |
|
Ed Bart wrote on Mon, 15 October 2012 04:26Right click on the project, go to Debug As - Debug Configurations - Debugger tab - And unclick "Stop on start up at" (which in my case was saying Main). I am not an expert at all, but I think the debugger is trying to stop on the Main at startup and something related to the widget creates the problem (?).
Note: in my case, I was getting the Can't find a source file at "../mingw/main.c"
Locate the file or edit the source lookup path to include its location... with Qt in Eclipse... Hopefully helps...
Thanks, My problem solved
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds