943,664 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3349
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 15th, 2009
0

No source available for a function

Expand Post »
Hi

I am using eclipse under ubuntu for my work. I am calling a function with specified arguments. It builds correctly but while debugging it stops at the call giving the error as "no source available for function()"

C++ Syntax (Toggle Plain Text)
  1. int f1(a1,a2){
  2. //some description here
  3. }
  4. int main (){
  5. //call f1 here....program stops debuggin with the above specified error.
  6. }
Last edited by vishalag; Jun 15th, 2009 at 11:52 am. Reason: Used tab for spacing..good programming habits
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vishalag is offline Offline
9 posts
since Jun 2009
Jun 15th, 2009
0

Re: No source available for a function

post actual code
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,949 posts
since Aug 2005
Jun 15th, 2009
0

Re: No source available for a function

Dear "Ancient Dragon" [wow I am still laughing at my opening statement]

Actually I am not supposed to give actual code in any form outside my workplace..as mentioned in my agreement with the company. I am very sorry for this. But can you help me figure out what problems might cause this error.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vishalag is offline Offline
9 posts
since Jun 2009
Jun 15th, 2009
0

Re: No source available for a function

>[wow I am still laughing at my opening statement]
Which statement?

Anyways, it would be very tough to troubleshoot if your code is sacred. Try to produce similar code which causes similar error then post it.

Saying anything without code would be senseless.
Reputation Points: 1486
Solved Threads: 140
Practically a Posting Shark
siddhant3s is offline Offline
816 posts
since Oct 2007
Jun 15th, 2009
0

Re: No source available for a function

yes..I am doing that exactly right now


btw statement was "Dear ancient draggon"
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vishalag is offline Offline
9 posts
since Jun 2009
Jun 15th, 2009
2

Re: No source available for a function

Are you running in the debugger and it's stopping automatically? Or are you stepping through your code and getting this message when you try to step into the function? Your error sounds a lot like missing debug information during the build, not a problem with the code itself. Does the code run without error outside of the debugger?
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Jun 15th, 2009
0

Re: No source available for a function

Exactly
I am in debugger and then while debugging it stops automatically giving those errors.
I also believe that this is due to missing debug information during the build ..but dont know how to fix it.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vishalag is offline Offline
9 posts
since Jun 2009
Jun 15th, 2009
0

Re: No source available for a function

It's not an error at all. It's a simple info message. Fill the difference.
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008
Jun 15th, 2009
0

Re: No source available for a function

Dear ArKM
I wish it would have been infor. But debug terminates at that point without any output.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vishalag is offline Offline
9 posts
since Jun 2009
Jun 15th, 2009
0

Re: No source available for a function

Sorry, I have not noticed that you are in ubuntu environment...
It's not a problem in the Visual Studio debugger.
Reputation Points: 1234
Solved Threads: 347
Postaholic
ArkM is offline Offline
2,001 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Help!
Next Thread in C++ Forum Timeline: Problem with CreateWindowEx





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC