HOWTO: Build a Project and Setup a Debug Configuration for debugging in S32 Design Studio

cancel
Showing results for 
Search instead for 
Did you mean: 

HOWTO: Build a Project and Setup a Debug Configuration for debugging in S32 Design Studio

No ratings

HOWTO: Build a Project and Setup a Debug Configuration for debugging in S32 Design Studio

1. Build the project.

a. Select the build configuration. (optional)

pastedImage_2.png

b. Click on Build.

pastedImage_4.pngpastedImage_5.png

c. Check there are no compiler errors.

pastedImage_6.png

2. Configure the debug configuration to start a debug session.

a. Click down arrow next to Debug button.

b. Select 'Debug Configurations…'

pastedImage_7.png

c. Select the debug configuration associated with your current build configuration.

d. Select whether to rebuild code each time debug session start is requested.

pastedImage_8.png

e. Click on Debugger tab.

f. Verify proper interface and port.

pastedImage_9.png

3. Click Debug

Comments

Hello

   What's the difference between Debug mode and Release mode?

Regards

Oliver

Hello OliverTian‌,

The difference is mainly in the compiler switches. Debug mode produces a build containing the debug information required for debugging, but it is much bigger code size. The Release mode is more code-size efficient, but you cannot debug. So Debug mode for development activities, Release mode for building your final product.

You can find a well-written and fully detailed explanation by our colleage Erich Styger: Debug vs. Release? | MCU on Eclipse 

Hope that helps!

Mike

Hi, Mike

   Thank you!

   It's useful and clear!

Oliver

Version history
Revision #:
1 of 2
Last update:
‎11-06-2017 03:56 PM
Updated by: