This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to turn on DEBUG flag on SES

Hello.

Please teach me how to turn on DEBUG flag on Segger Embeddid Studio.

Environment:
SDK 15.2.0 and
SEGGER Embedded Studio Release 4.10a Build 2018110203.37618 Linux x64

In the

devzone.nordicsemi.com/.../app_error_fault_handler-sdk-v15-0-0-nrf52832-custom-board-id-0x00004001-blinky-example-impossible-to-connect

says:

> and define DEBUG for your project (if you use SES, just select Debug build instead of Release).

But It seems not turn on in Debug build.

Ex:
1. I open project from examples/ble_peripheral/ble_app_uart .
2. I select menu on SES as "Build" > "Build and Debug".

3. But DEBUG define is turned off in app_error_weak.c (see attachment image).

Any help?

Related