Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Overriding CDebugModelPresentation

There is a pending patch that suppose to fix markers (breakpoints markers
that are shown in the editor)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219863
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=219863> 


安立君 wrote: 


hi, 
        I extend the breakpoint window popup menu, Let user can add
breakpoint to any address. 


question: the breakpoint marker can not be draw on the CEditor, only on
disassembly. how can I draw it on both view? 

detail: I use the ICDITarget interface create location, 
ICDIAddressLocation location = cdiTarget.createAddressLocation(new
BigInteger("1000")); 
cdiTarget.setAddressBreakpoint(ICDIBreakpoint.HARDWARE, 
                                                                location,
null, false); 
The location created by createAddressLocation method, do not contain file
information. In result, breakpoint marker can not be draw on the CEditor. 

Remark: 
If the executable file contain Debug information, GDB/MI set breakpoint
command will return file information. 
CDT5.0 has any change on it? 

Best regards
                    Lijun
SUNNORTH


begin:vcard
fn:Elena Laskavaia
n:Laskavaia;Elena
tel;work:x2235
version:2.1
end:vcard


Back to the top