The only issue I see with it is no visual indication of what mode you are currently using.
Maybe if debug mode is selected show the icon as a gear with a bug on it so we are currently using the debug build mode.
Well, the combobox caption "Debug" is also a visual indication, but yes, an additional icon is a very good idea.
"Debug" and "Release" modes could have predefined icons but a user could add his own icons for other modes.
Yes, when you are in the project options dialog,but when it's closed and your just in the IDE working on something there is no indicator of what build mode the IDE is currently
set to. What I am proposing is when the build mode name = 'Debug' then change the icon in the IDE toolbar to a gear with a bug on it instead of a gear with a wrench.
Or add the debug name to the IDE main form title bar, which right now shows "Lazarus IDE v1.2RC2 - Project Name" but I don't think it would by to far of a stretch to have it in
addition to displaying the project name also show the current build mode name for the project, if it's default then don't show anything, but if it's release or debug then show that
along with the project name i.e.
"Lazarus IDE v1.2RC2 - Project1:Debug"
This would be handy for when you come back to a project and you would immediately know what build mode its in.
Just a idea :-) Feel free to use it if you like :-)
I will post a mock up of what I am talking about.