Using the Icon Lists Pane

From Flowcode Help
Revision as of 13:30, 23 May 2013 by ReeceL (talk | contribs)
Jump to navigationJump to search

The icon lists pane can be accessed from the View > Icon lists option within the main Flowcode menu or will appear automatically when using the find and replace tool. The window has several tabs each containing a list of different icons, you can view the options associated with any icon by hovering over it and clicking on the dropdown arrow that appears. Removing icons from the bookmarks and breakpoints lists will remove the bookmark or breakpoint from that icon.


<img>


Bookmarks

All currently active bookmarks will be listed under this tab.

   Show: Locate and highlight the relevant flowchart icon.
   Remove: Removes one icon from the list.
   Remove all: Clears the bookmark list.

Adding and removing bookmarks

Bookmarks work in a similar way to breakpoints, only they will not stop the code during simulation, they are mainly used for quicker navigation around the flowchart. <Reword>


Breakpoints

All currently active breakpoints will be listed under this tab.

   Show: Locate and highlight the relevant flowchart icon.
   Remove: Removes one icon from the list.
   Remove all: Clears the breakpoint list.

Adding and removing breakpoints

Breakpoints can be toggled on or off by selecting the icon at which point you wish to break and selecting Toggle Breakpoint from the Edit menu. Alternatively you can toggle the breakpoint with the F9 function key.

To clear all breakpoints select Clear All Breakpoints from the Debug menu (Debug > Clear All Breakpoints).

Using breakpoints

When a flowchart is simulating it will stop at the first breakpoint that it reaches. Pressing Play again will resume program flow - to the next breakpoint if there are more than one.


When at a breakpoint the user can examine variable values, inputs and outputs etc.

Breakpoints are useful for stopping the program at the start of a problematic piece of code to allow the user to step through and debug the code.


If the ICD Mode is enabled in the Debug menu (Debug > ICD Mode) then enabling a breakpoint will cause the ICD hardware to stop the target on a particular flowchart icon.


Find results

After using the find and replace function this list will be populated with any results from the search query.

   Show: Locate and highlight the relevant flowchart icon.
   'Bookmark:' Sets a bookmark on the highlighted find result.
   'Remove:' Removes one icon from the list.
   'Bookmark all:' Sets a bookmark on all the find results.
   'Remove all:' Clears the results list.

<Add Content>

Error results

Flowcode will warn and point to any errors in the code during compilation or simulation, any detected errors will appear in the 'Error results' list.

   Show: Locate and highlight the relevant flowchart icon.
   Bookmark: Sets a bookmark on the highlighted error.
   Remove: Removes one icon from the list.
   Bookmark all: Sets a bookmark on all the errors.
   Remove all: Clears the error list.

<Add Content>