Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problem debugging a multithread application
Problem debugging a multithread application [message #75048] Sat, 05 July 2003 17:25 Go to next message
Eclipse UserFriend
Originally posted by: f.frumento.sciro.com

Hi!

I'm using Eclipse 2.1.1 with CDT 1.1 on a RedHat 9.0 GNU/Linux box

I'm trying to debug a multithread application but when i step over a
pthread_create call the debug session stop with the message:

Couldn't get registers: Operation not permitted.

If i leave the application running wild in te debugger it stop with the
same message.


Using the GDB in a console or the ddd debugger frontend all work fine. I
would like to use eclipse to have all 'integrated'


thanks in advance
Re: Problem debugging a multithread application [message #75189 is a reply to message #75048] Mon, 07 July 2003 11:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Can you please post your .log file?

Thanks,
Mikhail

"Fabio Frumento" <f.frumento@sciro.com> wrote in message
news:be7fm1$i4f$1@eclipse.org...
> Hi!
>
> I'm using Eclipse 2.1.1 with CDT 1.1 on a RedHat 9.0 GNU/Linux box
>
> I'm trying to debug a multithread application but when i step over a
> pthread_create call the debug session stop with the message:
>
> Couldn't get registers: Operation not permitted.
>
> If i leave the application running wild in te debugger it stop with the
> same message.
>
>
> Using the GDB in a console or the ddd debugger frontend all work fine. I
> would like to use eclipse to have all 'integrated'
>
>
> thanks in advance
>
Re: Problem debugging a multithread application [message #75447 is a reply to message #75189] Fri, 11 July 2003 07:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: f.frumento.scio.com

where can i find it ?

thank you

Fabio
Mikhail Khodjaiants wrote:
> Can you please post your .log file?
>
> Thanks,
> Mikhail
>
> "Fabio Frumento" <f.frumento@sciro.com> wrote in message
> news:be7fm1$i4f$1@eclipse.org...
>
>>Hi!
>>
>>I'm using Eclipse 2.1.1 with CDT 1.1 on a RedHat 9.0 GNU/Linux box
>>
>>I'm trying to debug a multithread application but when i step over a
>>pthread_create call the debug session stop with the message:
>>
>>Couldn't get registers: Operation not permitted.
>>
>>If i leave the application running wild in te debugger it stop with the
>>same message.
>>
>>
>>Using the GDB in a console or the ddd debugger frontend all work fine. I
>>would like to use eclipse to have all 'integrated'
>>
>>
>>thanks in advance
>>
>
>
>
Re: Problem debugging a multithread application the .log file [message #75463 is a reply to message #75189] Fri, 11 July 2003 08:53 Go to previous message
Eclipse UserFriend
Originally posted by: f.frumento.scio.com

here the file..

I'm using RH 9.0 i suspect that this i sa bug in RH9... glibc or gdb...

!SESSION lug 11, 2003 13:29:20.879
---------------------------------------------
java.version=1.4.1_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=it_IT
Command-line arguments: -os linux -ws gtk -arch x86 -data
/home/fabio/.eclipsewk -install file:/opt/eclipse_gtk/
!ENTRY org.eclipse.debug.core 4 120 lug 11, 2003 13:29:20.880
!MESSAGE Error logged from Debug Core:
!STACK 0
java.io.IOException: close error
at org.eclipse.cdt.utils.pty.PTYOutputStream.close(PTYOutputStr eam.java:62)
at
org.eclipse.debug.internal.core.InputStreamMonitor.write(Inp utStreamMonitor.java:102)
at
org.eclipse.debug.internal.core.InputStreamMonitor$1.run(Inp utStreamMonitor.java:75)
at java.lang.Thread.run(Thread.java:536)
!ENTRY org.eclipse.cdt.debug.core 4 1000 lug 11, 2003 13:29:20.901
!MESSAGE Internal error logged from CDI Debug:
!STACK 0
org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: {R,T}xThread terminated
at
org.eclipse.cdt.debug.mi.core.cdi.BreakpointManager.deleteBr eakpoints(BreakpointManager.java:341)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.remov eAllBreakpoints(CDebugTarget.java:1252)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.clean up(CDebugTarget.java:1199)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.termi nated(CDebugTarget.java:1150)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.handl eTerminatedEvent(CDebugTarget.java:1515)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.handl eDebugEvent(CDebugTarget.java:952)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.fireEvent(Eve ntManager.java:231)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.fireEvents(Ev entManager.java:218)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.update(EventM anager.java:190)
at java.util.Observable.notifyObservers(Observable.java:142)
at
org.eclipse.cdt.debug.mi.core.MISession.notifyObservers(MISe ssion.java:472)
at org.eclipse.cdt.debug.mi.core.MISession.terminate(MISession. java:464)
at org.eclipse.cdt.debug.mi.core.cdi.Session.terminate(Session. java:190)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.termi nate(CDebugTarget.java:529)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.handl eExitedEvent(CDebugTarget.java:1505)
at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.handl eDebugEvent(CDebugTarget.java:995)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.fireEvent(Eve ntManager.java:231)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.fireEvents(Ev entManager.java:218)
at
org.eclipse.cdt.debug.mi.core.cdi.EventManager.update(EventM anager.java:190)
at java.util.Observable.notifyObservers(Observable.java:142)
at
org.eclipse.cdt.debug.mi.core.MISession.notifyObservers(MISe ssion.java:472)
at org.eclipse.cdt.debug.mi.core.EventThread.run(EventThread.ja va:40)
Previous Topic:Re: JNI Best Practices with JDT/CDT?
Next Topic:CDT for Mac OS X
Goto Forum:
  


Current Time: Sat May 10 01:23:15 EDT 2025

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

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

Back to the top