raiden00pl commented on PR #11350: URL: https://github.com/apache/nuttx/pull/11350#issuecomment-1857578729
@anjiahao1 https://github.com/apache/nuttx/blob/9483729328d4aa2986a94aa38668495fbe113b93/arch/arm/src/armv7-m/arm_dbgmonitor.c#L95 this line resets all breakpoints set before we running our program in debugger which is wrong. A normal debugging session looks like this: 1. reset target, 2. set some breakpoints, 3. run target. If our breakpoints are set after `arm_fpb_init` call then it will never work. If this behavior is required for gdbstub then this must be controlled by Kconfig option which is *off* by default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
