Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Halted thread no longer expanded in M7

Title: Re: [cdt-dev] Halted thread no longer expanded in M7
When I revert VMViewerUpdate to version 1.7 (before Monday’s change) then stack frames are again properly selected on suspend. I reopened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=310331

- Ken


From: "Ryall Ken (Nokia-D/Austin)" <ken.ryall@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Mon, 17 May 2010 22:30:11 +0200
To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Halted thread no longer expanded in M7

I’m seeing the same problem with the EDC debugger after moving to M7. But in this case the frame list is correctly expanded but the top frame is not selected after the first suspend. So when you you step or run to another breakpoint the top frame will not be selected.

EDC does not use IRunControl.IContainerSuspendedDMEvent, but uses IRunControl.ISuspendedDMEvent.

- Ken


From: "ext Alexiev, Dobrin" <dalexiev@xxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Mon, 10 May 2010 22:20:53 +0200
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: RE: [cdt-dev] Halted thread no longer expanded in M7

Pawel,
 
I managed to pinpoint to a change in ONLY ONE file - VMViewerUpdate.java.
If I use a version of that file earlier than April and all other files are pointing to HEAD there is no problem with my debugger.
All recent changes of that file point to: https://bugs.eclipse.org/bugs/show_bug.cgi?id=310331
I’ll keep digging…
 
Thanks
Dobrin
 
 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pawel Piech
Sent: May 10, 2010 1:38 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Halted thread no longer expanded in M7

Hi Dobrin,
There was a few changes in this area bugs 248627, 310052, 310031, 310992. So it may take some investigation to find out what was the breaking change.  I did a quick sanity test with PDA, and single thread stepping works there without a problem.  Could you give more details as to why buildDelta is not being called for you on suspended?

-Pawel

On 05/10/2010 09:05 AM, Alexiev, Dobrin wrote:
Hello,
 
I just updated to M7 and I noticed that when my DSF debugger thread halts the thread is no longer auto expanded and its top stack is no longer selected.
 
When I debugged the GDB DSF debugger I saw that it works well because it fires IRunControl.IContainerSuspendedDMEvent.
That triggers StackFramesVMNode.buildDelta to calls buildDeltaForSuspendedEvent which adds the flags SELECT and EXPAND to the delta.
 
In my debugger I do not fire IRunControl.IContainerSuspendedDMEvent but only fire IRunControl.ISuspendedDMEvent.
That event is not delivered to StackFramesVMNode.buildDelta - therefore buildDeltaForSuspendedEvent is not called, add SELECT and EXPAND are not added to the delta flags.
 
Any idea what might have changed between M6 and M7 in the area?
 
Thanks
Dobrin

 
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
  




Back to the top