# Odd error message

**URL:** <https://forum.arduino.cc/t/odd-error-message/1118269>\
**Category:** IDE 2.x\
**Created:** [April 22, 2023, 1:49pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269 "2023-04-22T13:49:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ballscrewbob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ballscrewbob/32/950458_2.png) [@Ballscrewbob](https://forum.arduino.cc/u/Ballscrewbob)\
**Post date:** [April 22, 2023, 1:49pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269/1 "2023-04-22T13:49:21Z")

</div>

Started to get a very cryptic message

```plaintext
Waiting for gdb server to start...[2023-04-22T13:47:00.003Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
"C:\\Users\\rtcno00225\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\openocd\\0.10.0-arduino7/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "d:\\Arduino sketches an libs\\GPSLocation" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f "C:\\Users\\rtcno00225\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.13/variants/mkr1000/openocd_scripts/arduino_zero.cfg"
Open On-Chip Debugger 0.10.0+dev-gf0767a31 (2018-06-11-13:36)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
CDRTOSConfigure
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
none separate
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: unable to find CMSIS-DAP device

[2023-04-22T13:47:00.383Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...

```

Anyone ?

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [April 22, 2023, 1:54pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269/2 "2023-04-22T13:54:17Z")

</div>

Hi @Ballscrewbob. What were you doing when you saw the error message?

This error would normally occur when the user clicks the " **Start Debugging**" button without a debug probe connected between the computer and the MKR1000 board:

![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/c/4/3c4764e2353b794ac91fbf4acf8a90d5d429f753.png)

---

<div class="post-metadata">

**Author:** ![Ballscrewbob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ballscrewbob/32/950458_2.png) [@Ballscrewbob](https://forum.arduino.cc/u/Ballscrewbob)\
**Post date:** [April 22, 2023, 1:54pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269/3 "2023-04-22T13:54:58Z")

</div>

That was it !

Not 100% up to speed on 2.x  
Though it may just parse the code.

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [April 22, 2023, 1:57pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269/4 "2023-04-22T13:57:57Z")

</div>

OK, great. I'm glad we identified the cause. In case you haven't seen it already, I'll share the link to some more information about the Arduino IDE's integrated sketch debugger feature:

> **[Debugging with the Arduino IDE 2.0 | Arduino Documentation](https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger)**
>
> Learn how to set up a Zero board, J-Link and Atmel-ICE debuggers with the Arduino IDE 2.0, and how to debug a program.

It is necessary to connect a CMSIS-DAP compliant or J-Link debug probe to the SWD header on the MKR1000 board in order to use the feature.

If you have an Arduino Zero board, that board has an on-board debug probe so is more convenient to use with the debugger.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [October 19, 2023, 1:58pm UTC](https://forum.arduino.cc/t/odd-error-message/1118269/5 "2023-10-19T13:58:22Z")

</div>

Closed on October 19, 2023, 1:58pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
