Recent

Author Topic: Debug Information disable, any click?  (Read 1987 times)

coradi

  • Full Member
  • ***
  • Posts: 148
Debug Information disable, any click?
« on: November 20, 2017, 11:12:01 am »
Hallo,
how can I compile a new File without Debug and other inforamations with on click?
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Debug Information disable, any click?
« Reply #1 on: November 20, 2017, 11:41:15 am »
When you created a new project: Main Menu / Project / Project Options / Compiler Options / Debugging, should show a form that looks similar to this picture .

Turn on/off those settings that you wish to use for compiling your project and press the ok button. Be sure to save your project, then rebuild your project. That is, if i understood your question correctly.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9867
  • Debugger - SynEdit - and more
    • wiki
Re: Debug Information disable, any click?
« Reply #2 on: November 20, 2017, 12:03:34 pm »
It wont be *one* click, but close.

Go into the "Project Options" => Compiler Options
Select "Build modes"
There is a button "create debug and release" modes. [1]

You can also do that, and set it as default for all new projects.

In the IDE main bar, there is an icon to select the build mode, so you can quickly toggle, and then build.


-------------------------------
[1] AFAIK that only affects project, but not packages. So LCL still has dbg info.
But you can edit the build mode once, and add "strip", or use "additions and overrides" to change packages....

coradi

  • Full Member
  • ***
  • Posts: 148
Re: Debug Information disable, any click?
« Reply #3 on: November 20, 2017, 12:23:17 pm »
not Build modes.. Debugging => create debug and release

Great :-)Thanks .-) This works
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

 

TinyPortal © 2005-2018