Build /Debugger Type

General discussion on mikroC PRO for FT90x.
Post Reply
Author
Message
PPK
Posts: 18
Joined: 08 Jan 2018 06:27

Build /Debugger Type

#1 Post by PPK » 28 May 2018 10:41

Hi
In the IDE there is a "Build /Debugger Type" section.
It has two areas
1. Build Type with a Release / ICD Debug selection
2. Debugger with a Debugger / mikrolCD selection

What does the "Build Type" "Release" as opposed to Debug mean?
Does it somehow change the final output file ie remove embedded debug code that then makes the final release smaller in size?

The is a small section in the help that shows this screen "Software Simulator" but it does not explain the difference between the four options.
If anything, it only adds confusion. It says to select Release if you want to use the simulator?

Thanks Neil.

PPK
Posts: 18
Joined: 08 Jan 2018 06:27

Re: Build /Debugger Type

#2 Post by PPK » 18 Jun 2018 22:38

Any comment from the Mikroe Team?

User avatar
marko.stankovic
mikroElektronika team
Posts: 108
Joined: 18 Dec 2017 15:44

Re: Build /Debugger Type

#3 Post by marko.stankovic » 19 Jun 2018 11:50

Hi,

Build type:
- When you select Release Build, the debugging option in the microcontroller will be disabled
- When you select ICD Debug, the debugging option in the microcontroller will be enabled
Note: For hardware debugging (mikroICD debugging) you must use the ICD Debug option as Build type
And if you want a software simulation, select Release option as Build type.

Debugger type:
- Software debugging is used for software simulation of your project
- mikroICD debugging is used for hardware debugging of your project
Note: With these options you choose which type of debugging you will use in our IDE.
The Software Simulator simulates the program flow and execution of instruction lines, but it cannot fully emulate device behavior.

The final hex file is different because certain parts needed for debugging get added, but the change in the size of the file isn't significant.

Best regards,
Marko Stankovic.

Post Reply

Return to “mikroC PRO for FT90x General”