Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] debug problem in Eclipse3.2.2 + CDT3.1.2

SORRY, I forgot to paste the console error messgage:

No symbol "new" in current context.
No source file named ocilib.c.
No source file named ocilib.c.
Stopped due to shared library event
No source file named ocilib.c.
No source file named ocilib.c.
[Thread debugging using libthread_db enabled]
[New Thread -1228548416 (LWP 8315)]
Stopped due to shared library event
[Switching to Thread -1228548416 (LWP 8315)]
Stopped due to shared library event
Cannot find bounds of current function

------------------				 
Ren
2008-07-22

-------------------------------------------------------------
发件人:xiao ren
发送日期:2008-07-21 22:28:17
收件人:cdt-dev
抄送:
主题:[cdt-dev] debug problem in Eclipse3.2.2 + CDT3.1.2

Hi, there

This problem confused me for days and I still don't have a clue.

My develop IDE is Eclipse3.2.2+CDT3.1.2 under ubuntu. I develop my own application basing on some open source projects, such as OCILIB(a lib that wraps oracle oci APIs), and NET-SNMP(a well-known snmp library). 

First of all, I download those source code from sourceforge.net, make and install them without problem and all things are ok. And I made up a new project with Eclipse+CDT, using those libraries with -l and -L option to build my own application binary file. Also, everything's ok. 

But when I debug my application, I found that I can't step over the function builded in some shared libraries(the open source projects), when I press F6, sometimes debugger will trace into the function, but if you keep pressing F6, debugger will terminated with a error, reported 'can not find bounds of current function'. and the error always occured in another thread other than the main() thread. I can confirm that all the shared libraries are compiled with -g flag. And the output application binary file seems to be ok because it runs ok in command line.

Could anybody help me on this? Thanks very much.
 				
--------------
Ren
2008-07-21
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top