Hello,
we have a custom board with a RT1172; we have been using MCUXpresso 11.4.0_6224 and had no problems debugging.
I just updated to 11.7.1_9221 and am now having issues debugging, where the GDB connection shuts down. Pausing, or stepping over/in/out of functions seems to be the trigger; when I do this there is a noticeable delay before the IDE becomes active again. I tried 11.5.0_7232 and have similar issues; then back to 11.4.0_6224 and no issues.
Sometimes, in the IDE console I see:
PE-ERROR: GDB Client Processing : Exception Occured : PROGRAM EXCEPTION!
EXCEPTION CLASS: EIDSOCKETERROR
MESSAGE: SOCKET ERROR # 10054
CONNECTION RESET BY PEER.
ADDRESS 0X005FC2BC
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61792" from 7224
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "61790" from 6224
Target Disconnected.
And in the IDE Debugger Console
/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gdb/gdb/utils.c:671: internal-error: virtual memory exhausted: can't allocate 4064 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
In the Windows Resource Monitor I also see GDB memory usage increase quite a bit when pausing/stepping as mentioned above; still lots of memory available though.
UPDATE: I installed 11.4.1_6260 and didn't have any issues with that version either.
Thanks for the help,
Matt