Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Feature Request: Enable debugger to work without having to create a Project fir
scuttsie:
--- Quote from: oBFusCATed on July 31, 2014, 09:25:56 am ---Sorry, but we are not obliged to add features we're not interested in. We're all volunteers and work on C::B for fun.
Also all developers of C::B work on it in order to improve their own workflows.
The requested one is not a workflow used in serious productions, so it is less interesting...
As I've said - patches are welcome...
--- End quote ---
Thank you for your response.
I understand that the platform has been/is developed by volunteers and I applaud your efforts but with this issue, IMO, it is more about professionalism or how the platform is perceived or meets performance expectations.
I would like to make the following suggestions, both to be controlled by switch options within the C(++) source code;
1. Binary numeric values to be stored using the high order bit to indicate sign, '1' zero and positive values and '0' negative values. For example, single byte numeric, -127 = hex(00), -1 = hex(7F), 0 = hex(80), 1 = hex(81), 128 = hex(FF) and for two byte numeric in big endian format, -32767 = hex(0000), -1 = hex(7FFF), 0 = hex(8000), 1 = hex(8001), 32768 = hex(FFFF) etc. The reason for suggesting this format option for handling the storage of binary numeric values means that negative values logically will always be less than zero, which, in turn, will always be less than positive values. Also, single byte logical expressions will work irrespective of being defined as either character or binary numeric.
2. Floating point numeric option to store values in binary coded decimal format. The reason for BCD storage option is so that using the logical expressions of comparison with zero will always work (using the approximation method they necessarily/generally don't).
I await your response.
MortenMacFly:
I am not sure if the author is aware of the concept of targets. Once you have a project it can have 1..n targets representing an executable based on a single or more files each. As you can make easily copies of targets setting up another target is just a few clicks and fulfils everything you need for debugging.
maelstrom:
thank you for all the responses..
--- Quote from: oBFusCATed on July 30, 2014, 10:20:40 pm ---
--- Quote from: maelstrom on July 30, 2014, 06:04:12 pm ---So i'd like to submit a feature request: Please enable the debugger to be used with standalone c/cpp files. This will make CodeBlocks much more appealing to c.s. students.
--- End quote ---
Often requested feature, but not too useful one to inspire anyone to implement it... patches welcome...
--- End quote ---
I realize that most people who would find this feature useful are beginner programmers. Still, as you pointed out, it is an often requested feature, which is probably due to the popularity of CodeBlocks among beginners. I have no idea of the complexity of effort that would be required, but I do hope that it gets implemented soon, because it is like the only gripe i have with CodeBlocks. For the time being, however, I've switched to Orwell Dev-CPP, which does allow debugging of standalone c/cpp files.
--- Quote from: BlueHazzard on July 30, 2014, 11:13:01 pm ---You can also use one target per file, collected in one project... it would be relatively (at least i think) easy to write a script, to create a target per file...
--- End quote ---
I dont know about scripting, wouldn't that defeat the purpose one is trying to achieve, i mean to be able to quickly and easily write, compile and debug small, single-file programs.. But I would like to learn how that can be done..
--- Quote from: MortenMacFly on August 01, 2014, 05:34:12 am ---I am not sure if the author is aware of the concept of targets. Once you have a project it can have 1..n targets representing an executable based on a single or more files each. As you can make easily copies of targets setting up another target is just a few clicks and fulfils everything you need for debugging.
--- End quote ---
Unfortunately, no idea. I'll try to look for it in the manual and the wiki. Any pointers would be appreciated.
Navigation
[0] Message Index
[*] Previous page
Go to full version