Issues and suggestions
Posted: Fri Feb 12, 2016 11:19 pm
Issues.
1. Startup time = 6 - 10 minutes. Yes, i have old hardware, but anyway it is too much.
2. I'm not sure about conditions, but in x64 version I'm unable to choose Release target in Project options. Dropdown list contains only Debug item.
3. It seems that CodeLite doesn't expand macroses (like $(ProjectName)) in Project Settings > Debugger > Startup commands. E.g. i have to pass
to arm-none-eabi-gdb.exe. If i write just project output filename of its full path then everything is ok, but if i write
debugger doesn't recognize it.
Btw, there is a mix of slashes and backslashes as path delimiters. E.g. look at the Available Macros window (attached). Some paths contains slashes while some have backslashes.
***
Suggestions
0. Reduce startup time
1. On startup CodeLite should check for commandline.txt file existence near itsef. If the file doesn't exist or it is empty, default startup parameters should be used. Otherwise startup params should be taken from the file.
The reason? E.g. i've created startup file:
After very first setup CL restarted itself and of course created new settings in default location. So suggested way of starting up may at least solve 'portability' problem - no launchers, no scripts. In fact this file not necessarily should only contain command line params. The idea is that CL should always try to load and apply some basic params from a certain startup file (its name should be hardcoded and available somewhere in the FAQs).
2. Add new settings:
Path delimiter - edit field where a user can set defaul path delimiter to e.g. \ or /
Double path delimiter - checkbox for toggling double delimiters in paths. Some apps (e.g. arm-none-eabi-gdb ) require double delimiters, e.g.
Or Path delimiter may take double delimiter - to reduce settings.
3. [Optionally] expand all path macroses and sequences to full paths. E.g.:
respecting path delimiters of course.
4. Add new path macros $(ProjectOutputFileFullName) or/and $(OutFullName).
---
CodeLite v9.1 x32/x64; prebuilt installer; Win7 x32/x64 Pro; TDM-GCC-32/64; GCC ARM Embedded v5-2015-q4-major
1. Startup time = 6 - 10 minutes. Yes, i have old hardware, but anyway it is too much.
2. I'm not sure about conditions, but in x64 version I'm unable to choose Release target in Project options. Dropdown list contains only Debug item.
3. It seems that CodeLite doesn't expand macroses (like $(ProjectName)) in Project Settings > Debugger > Startup commands. E.g. i have to pass
Code: Select all
file my_test_project.elf
Code: Select all
file $(ProjectName).elf
Btw, there is a mix of slashes and backslashes as path delimiters. E.g. look at the Available Macros window (attached). Some paths contains slashes while some have backslashes.
***
Suggestions
0. Reduce startup time
1. On startup CodeLite should check for commandline.txt file existence near itsef. If the file doesn't exist or it is empty, default startup parameters should be used. Otherwise startup params should be taken from the file.
The reason? E.g. i've created startup file:
Code: Select all
start codelite.exe --datadir=%~dp0\.profile
2. Add new settings:
Path delimiter - edit field where a user can set defaul path delimiter to e.g. \ or /
Double path delimiter - checkbox for toggling double delimiters in paths. Some apps (e.g. arm-none-eabi-gdb ) require double delimiters, e.g.
Code: Select all
"x:\\some\\path\\to\\my\\executable"
3. [Optionally] expand all path macroses and sequences to full paths. E.g.:
Code: Select all
Intermediate Folder = "./Debug"
Expanded $(ProjectPath)/$(IntermediateDirectory)/$(ProjectName) = "x:/full/path/to/project/directory/debug/projectname"
4. Add new path macros $(ProjectOutputFileFullName) or/and $(OutFullName).
---
CodeLite v9.1 x32/x64; prebuilt installer; Win7 x32/x64 Pro; TDM-GCC-32/64; GCC ARM Embedded v5-2015-q4-major