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.
Build /Debugger Type
Re: Build /Debugger Type
Any comment from the Mikroe Team?
- marko.stankovic
- mikroElektronika team
- Posts: 108
- Joined: 18 Dec 2017 15:44
Re: Build /Debugger Type
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,
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.