Difference between revisions of "User talk:Mariocup"
|Line 91:||Line 91:|
== Section Browser ==
== Section Browser ==
In the gdb console the command "i file" will display the names of the output sections with start and end address. This information could be displayed in a tree view and by selecting the name of the output section you can navigate between sections. This could be useful to set breakpoint in different
In the gdb console the command "i file" will display the names of the output sections with start and end address. This information could be displayed in a tree view and by selecting the name of the output section you can navigate between sections. This could be useful to set breakpoint in different .
== Symbol View in Debugger ==
== Symbol View in Debugger ==
Revision as of 23:54, 14 March 2008
- 1 Editor Improvements
- 2 Project Management
- 3 Embedded
- 3.1 Extension Points for options
- 3.2 Occlusion highlight
- 3.3 Symbol-Browser
- 3.4 Search Dialogue
- 3.5 Show Call Hierarchy
- 3.6 Debugger Console
- 3.7 Hardware Breakpoint
- 3.8 Interrupt and Resume Debugger
- 3.9 Section Browser
- 3.10 Symbol View in Debugger
- 3.11 Mixed Mode
- 3.12 Tabbed View
- 3.13 Multiple Watch Windows
- 3.14 Write Access to Register, Memory
- 3.15 Special Function Register
- 3.16 Multiple Debugger Instances
- 3.17 Memory Consumption
- 3.18 Squirell Debug
Resize editor window
A double click on a tab of an opened file should enlarge the editor window, and put the Log & Others and the management panel (F2 and Alt+F2) in the background. If you double click again on the tab, the window will be resized to the original size and the panels are visible again.--Mariocup 11:38, 13 March 2008 (CET)
Icons in the Management window
If you want to switch the different views in the management window you have to scroll, the tabs (projects, symbols, Files etc.). It would be easier for the user to have different icons like (http://kile.sourceforge.net/showscreenshot.php?id=2) in the margin to switch between the views. If you select e.g. the project icon then the project view will appear. Clicking again on the same icon will collapse the project view.--Mariocup 11:38, 13 March 2008 (CET)
Save copy as
Sometimes user want to make a backup of files or want to save a copy at a different location. Therefore a menu save copy as could be useful.--Mariocup 11:38, 13 March 2008 (CET)
Editors like vi or Jedit offer clipboards for copy and paste. The user can select in which register is put the content of the clipboard and can paste the content of one of the buffer/register.--Mariocup 11:38, 13 March 2008 (CET)
The Thread Search dialogue should be added also to the normal search dialogue.--Mariocup 11:38, 13 March 2008 (CET)
Scope for Search
The search dialog should provide a filter for the search scope: Function, Class etc.--Mariocup 11:38, 13 March 2008 (CET)
Docking/Undocking of windows in CB with split view (See patch of dmoore for detaching CB windows).--Mariocup 11:38, 13 March 2008 (CET)
The search for a word will be highlighted within the text. All occurences should be highlighted.--Mariocup 11:38, 13 March 2008 (CET)
Show value of defines
For embedded developing often defines are used for bit masks. So it would be helpful if the user puts the cursor over a define and CB will hover the value of the define.--Mariocup 11:38, 13 March 2008 (CET)
If a text is wrapped in several lines (wrap mode) and the cursor is between these lines, then the Home-key will put the cursor in beginning of the first line instead of the start of the current line. This behaviour should be changed.--Mariocup 11:38, 13 March 2008 (CET)
Convert Tab to spaces and vice versa
If you mark a text in the editor and select the context menu, then tabs will converted to spaces within the selection.--Mariocup 11:38, 13 March 2008 (CET)
For example if a source file contains different #ifdef constructs, sometimes the user wants to toggle setting or unsetting of a define. This could be done either with introducing a comment character in the compiler define dialogue or using a split view window, where one column could be for setting a define and a second column for unsetting a define. The status of a define could be move between the columns by an arrow.
If you select the properties->Advanced option of an assembler file and click "Use custom build command" then per default "$compiler $options $includes - c $file -o $object" should appear.
Checkbox for Prebuilt and Postbuilt Steps
If you are using different postbuilt steps e.g. conversion of executable to a hex-file and followed by a build steps for flash programming it would be desirable either to have a a comment character for disabling postbuilt steps or introducing checkbox for selecting different post built steps.
Environment per build target
E.g. you want to use different compiler version for two build targets. The compiler is parametrise in the toolchain executable as an environment variable GNUGCC that points to different MinGW compiler versions. This could be realised when configurations of environment variables could be assigned for each build target.
File Explorer in CB
The file explorer (dmoore) and its shell extension can be used for flexible tasks like integrating Subversion support with gsvn or TortoiseSVN, diffing files etc. It should be integrated in Codeblocks.
Block Select Mode
Currently CodeBlocks supports only the selection and copy in block mode (ALT) but cannot paste the content in this mode. This features is useful for changing the content of columns in an array.
Integrate Aspell as spell checker as CodeBlocks may be used as text editor too.
If you link different libraries that contain cylic references, then the linker will issue an error. To solve the problem you can surround the library list by
--start-group <liste libs> --end-group
Could be nice to have a checkbox in the Linker settings that will provide this command.
Add new tabs in the project settings for setting a predefined list of assembler and linker options (like in the compiler tab).
Extension Points for options
Add mechanism to lock inconsistent selection of compiler, assembler or linker options. E.g. if one march= is selected other march= should be disabled and issue a warning.
The scope of the search in the symbol browse should depend on the user selection Global Functions, Global Variables, Defines etc.
Add filter for searching with: Class/Struct, Union, Enumeration, Typedef, Function, Method, Variable, Namespace, Comments
Show Call Hierarchy
Show tree view of the called function and functions that were called before and after it.
Integrate a gdb Debugger Console in CodeBlocks.
For embedded programming it is required to add so called hardware breakpoints. To do that gdb settings set only-use-hw-breakpoints 1 are required. These breakpoint should have a different color. Additional it could be a nice feature to be able to disable and enable existing breakpoints.
Interrupt and Resume Debugger
Add button for interrupting and resume in the Debugger.
In the gdb console the command "i file" will display the names of the output sections with start and end address. This information could be displayed in a tree view and by selecting the name of the output section you can navigate between sections. This could be useful to set breakpoint in different sections.
Symbol View in Debugger
In some debuggers the symbols of an object (e.g. including startup code) are extracted and displayed in the symbol view. To get a clear view this view should provide a search dialogue and a filter mechanism for display the symbols.
Provide a context menu to get a mixed mode (source code and assembler output) in debug mode. This should be possible for alle files within a project. In this view the user can set breakpoints in the assembler lines.
The display in mixed mode can be achived with the use of the GDB/MI interface (see gdb Manual gdb/mi Command Syntax): Since gdb 6.1 the debugger can perform mi command with the use of interperter-exec command.
interpreter-exec mi "-data-disassemble -f main.cpp -l 2 -- 1"
The passing of --0 or --1 will provide information for mixed mode if it is parsed.
The windows of breakpoint, variables etc. should dockable in a tabbed view.
Multiple Watch Windows
In complex application with many watches the windows becomes unclear, since that a search function in the watch window would be cool. In addition it is diserable to have multiple watch windows to group some variables in "categories".
Write Access to Register, Memory
Sometimes it is necessary to modify controller registers of values in the memory, therefore the memory and register view should provide a feature modify he content.
Special Function Register
Architectures like PowerPC or TriCore have tousands of Special Functions Registers, which are not convenient to display them in the debugger. A browse dialogue for special funcions registers would simplify life.
Multiple Debugger Instances
In embedded applications it is necessary to debug different projects (AVR, PowerPC etc.) simultaneously. For this reason the debugger mustn't be stopped when switching between projects.
A bar/gauge view of the allocated memory in different output sections.
Squirell scripts provide a simple mechanism to add functionality to CodeBlocks. The possibility to debug these scripts in CodeBlocks would be nice.