Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Breakpoint not getting hit
Breakpoint not getting hit [message #1785310] Thu, 12 April 2018 10:36 Go to next message
Pdk kk is currently offline Pdk kkFriend
Messages: 16
Registered: July 2015
Junior Member
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:
/root/src

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'
Apply changes.
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

Re: Breakpoint not getting hit [message #1785315 is a reply to message #1785310] Thu, 12 April 2018 10:58 Go to previous message
Pdk kk is currently offline Pdk kkFriend
Messages: 16
Registered: July 2015
Junior Member
sorry, can we delete the above Q now ?, This has been resolved now.
Previous Topic:using editor temples do not indent proberly
Next Topic:Juno version, Remote debugging option
Goto Forum:
  


Current Time: Thu Sep 20 13:01:44 GMT 2018

Powered by FUDForum. Page generated in 0.01914 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top