[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dsdp-dd-dev] Breakpoint service broken
|
Title: Re: [dsdp-dd-dev] Breakpoint service broken
Hi
Here is an error from the backend
593,120 4-break-insert /local/scratch/Eclipse/Workspaces/runtime/dsf_europa/Thread/thread.cpp:9
&"No line 9 in file "../thread.cpp".\n"
4^error,msg="No line 9 in file "../thread.cpp"."
To make it work, I changed MIBreakpoints.java from
DsfMIBreakInsert cmd = new DsfMIBreakInsert(
dmc,
debuggerPath + ":" + attributes.get(IMarker.LINE_NUMBER)); //$NON-NLS-1$
to
DsfMIBreakInsert cmd = new DsfMIBreakInsert(
dmc,
breakpoint.getMarker().getResource().getName() + ":" + attributes.get(IMarker.LINE_NUMBER)); //$NON-NLS-1$
I dont think currently any tests test this behaviour. Breakpoints are applied from tests but they are explicitly applied using the format "filename:linenumber"
Veenu Khanna Verma
+46 7 38 09 33 09 / +46 8 727 36 05
AS/EAB/FTI/GT TADE Design
Ericsson - PDU Packet Server Platform