|Breakpoint not getting hit [message #1785310]
||Thu, 12 April 2018 10:36
| Pdk kk
Registered: July 2015
I had used the following setup to debug with eclipse sometime back.|
Now wanted to use again and breakpoint is not getting hit.
Actually, the code is in svn at following place:
After the make, the executable gets generated at above path ./out/x86/output
Now in eclipse I want to run that executable, with debug information from the above source file. So following steps are done:
1.Open eclipse, with the project to debug in the workspace.
2.Make project (so that output is created in /root/src/x86
3.Create symbolic link to output (ln -s out/x86/output /usr/output/output)
4.Click on Run->Debug Configurations
4.Double click on C/C++ Application.
5.Click on Browse. Navigate to and select the symbolic link created above.
6.The name of the project will usually be '<Project Name> Default' - no need to change.
7.Click on Arguements tab. Unselect 'Use default' and use 'File System' tab to navigate to project 'src' directory (e.g. /root/SVN_ROOT/Projects/SoftCore/branches/V3_Trunk/src).
8.Click on Debugger tab. Unselect 'Stop on startup at: main'
9.Set any required breakpoints, and run the debug configuration (little green bug icon).
But somehow the breakpoint is not getting hit.
I tried to enable the "Start on startup at main", and i can see the breakpoint hit at main, and if i put another breakpoint on same file on next line gets skipped.
Please help me
[Updated on: Thu, 12 April 2018 10:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01914 seconds