Hi
When I remove some breakpoints in my code, and re enable it just after I have a non constant breakpoint index
For example:
Execution stopped in Thread mode at 0x1FFE447A0x1FFE447A 9,0 return result;break -p "I:/try_env/src/tests/D_IP_ISI_SYN/imx8qm/pdma_bypass_dc0_iris_fetchlayer0_di0.c":547Breakpoint 10 at 0x1FFF9A60 on file pdma_bypass_dc0_iris_fetchlayer0_di0.c, line 547delete 10Breakpoint 10 deletedbreak -p "I:/try_env/src/tests/D_IP_ISI_SYN/imx8qm/pdma_bypass_dc0_iris_fetchlayer0_di0.c":547Breakpoint 11 at 0x1FFF9A60 on file pdma_bypass_dc0_iris_fetchlayer0_di0.c, line 547waitcontinue
It sounds last breakpoint index is not removed from internal database of DS5.
It can be annoying when doing some scripting and using bkp index.
How to overcome this issue?
Issue is poping up with latest v 5.27.0 DS5 .
regards
claude
Hi Claude
Related to the above, the internal "$" variable keeps track of the last "thing" (breakpoint, watchpoint...) created. You can check it with:
print $
(should return 13 above).
You can use this, or an offset of it ($-3) to reference other breakpoints. Be careful though... doing something like
print $-1
will return 12 above, and set $=$-1, so then
will return 12.
Ronan