option 1: WORKS. Launching Debugger... Program Running 'XA0376B' User Experience: The serial debugger was delayed waiting for an incoming line of data. tips: Use WhenHit>=millis to limit the packet data rate. Dont overload the serial by sending your own serial from a fast loop. If the Serial.print() command is used between breakpoints, then ensure that a line termnator is sent using .println() or .print("\r\n"). Optionally, use #if defined(VM_DEBUG) to add code that is only active when debugging. (if this is expected then switch this user experience message off in tools>options>visual micro>micro debug) 14:43:53.719 XA0376B.ino, line 15 loop() XA0376B is paused at XA0376B.ino, line 15, loop() XA0376B Running 14:44:00.435 [up:17s:741ms perf:0ms] XA0376B.ino, line 17 loop() XA0376B is paused at XA0376B.ino, line 17, loop() XA0376B Running 14:44:04.698 [up:21s:999ms perf:100ms] XA0376B.ino, line 15 loop() XA0376B is paused at XA0376B.ino, line 15, loop() Set port to disabled and level to none. Serial debug still works. Changing back to debug probe it worked first time, 2 breakpoints set and stopped at both. Closed VS, reopened, didn't work back to pause only no breaking. tried swapping between serial and debug-probe ant debug-probe 'occasionally' works ? Info : RP2040 Flash Probe: 33554432 bytes @0x10000000, in 8192 sectors Info : Padding image section 1 at 0x10012cc8 with 56 bytes (bank write end alignment) Warn : Adding extra erase range, 0x10012d00 .. 0x10012fff ** Programming Finished ** ** Verify Started ** ** Verified OK ** The upload process has finished. # Copy build result to 'Project>Property Pages>Intermediate Directory' # Destination: "file:///C:/Users/fmc/OneDrive/Projects/vMicro/DBGTST/XA0376B/obj/ARM/Debug/" // MI Debugger Properties { "serverLaunchTimeout": 5000, "filterStdout": false, "filterStderr": true, "targetArchitecture": "arm", "stopAtEntry": false, "externalConsole": false, "MIMode": "gdb", "MIDebuggerServerAddress": "localhost:3333", "cwd": "C:\Users\fmc\AppData\Local\Temp\VMBuilds\XA0376B\rp2040_rpipico\Debug", "MIDebuggerPath": f\bin\arm-none-eabi-gdb.exe", "MIDebuggerArgs": "", "debugServerPath": "C:\\ProgramData\\vmicro\\tools\\openocd-rpi-0.12.0.20240923\bin/openocd.exe", "debugServerArgs": "-d2 -l .ino_DebugOpenOCD.log}\" -s \"C:\ProgramData\vmicro\tools\openocd-rpi-0.12.0.20240923/scripts/\" -f s-dap.cfg\" -c \"adapter speed 5000\" -f cfg\" -c \"adapter speed 5000; init; reset halt\"", "setupCommands": [], "program": no.elf", "logging": { "moduleLoad": false, "trace": false, "engineLogging": false, "programOutput": false, "exceptions": false, "traceResponse": false }, "showDisplayString": true }
|