Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - No source available for "main()": (4 Items)
   
No source available for "main()"  
Hello,
I am debugging in IDE 4.5.0, with the new version gdb 6.7.10. When i tried to debug, it pops out the msg " No source 
available for "main()"", but i can still resume the programe, but could not set breakpoints on it. where should i fix? 
thanks.

Eric
RE: No source available for "main()"  
In you debug launch the "Source" tab, can you check to see if you have the correct path to your project?

-----Original Message-----
From: Eric Dong [mailto:community-noreply@qnx.com]
Sent: Tue 04/08/2009 8:00 AM
To: general-ide
Subject: No source available for "main()"
 
Hello,
I am debugging in IDE 4.5.0, with the new version gdb 6.7.10. When i tried to debug, it pops out the msg " No source 
available for "main()"", but i can still resume the programe, but could not set breakpoints on it. where should i fix? 
thanks.

Eric

Attachment: Text winmail.dat 2.57 KB
Re: RE: No source available for "main()"  
> 
> In you debug launch the "Source" tab, can you check to see if you have the 
> correct path to your project?
> 
> -----Original Message-----
> From: Eric Dong [mailto:community-noreply@qnx.com]
> Sent: Tue 04/08/2009 8:00 AM
> To: general-ide
> Subject: No source available for "main()"
>  
> Hello,
> I am debugging in IDE 4.5.0, with the new version gdb 6.7.10. When i tried to 
> debug, it pops out the msg " No source available for "main()"", but i can 
> still resume the programe, but could not set breakpoints on it. where should i
>  fix? thanks.
> 
> Eric
> 

Thanks. The source path is included in default.  besides, i add my project to the source path including x86/o, x86/o-g. 
but don't work. i don't have such a problem before.

Re: No source available for "main()"  
Just checking - are you definitely debugging the _g version i.e. a build 
that has symbols in it ?

By default, new projects are setup to create a 'release' and a 'debug' 
version. Release has no symbols or debug in it, debug does...

Regards

Dave

Eric Dong wrote:
>
> >
> > In you debug launch the "Source" tab, can you check to see if you 
> have the
> > correct path to your project?
> >
> > -----Original Message-----
> > From: Eric Dong [mailto:community-noreply@qnx.com]
> > Sent: Tue 04/08/2009 8:00 AM
> > To: general-ide
> > Subject: No source available for "main()"
> > 
> > Hello,
> > I am debugging in IDE 4.5.0, with the new version gdb 6.7.10. When i 
> tried to
> > debug, it pops out the msg " No source available for "main()"", but 
> i can
> > still resume the programe, but could not set breakpoints on it. 
> where should i
> >  fix? thanks.
> >
> > Eric
> >
>
> Thanks. The source path is included in default.  besides, i add my 
> project to the source path including x86/o, x86/o-g. but don't work. i 
> don't have such a problem before.
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post35175
>


-- 
Dave Bott (dbott@qnx.com)	Field Applications Engineer 
QNX Software Systems, Inc.	Cell:408 391-3535
San Jose CA

Join Foundry27 <http://community.qnx.com>;  - the new QNX developer forum.