Debugger Panels. freescale IDE 5.7
Annons
Annons
Working with Target Settings
Debugger Panels
5. Click Done.
The IDE saves the modified keyword set.
Removing a Keyword from a Keyword Set
To remove a keyword from a keyword set, follow these steps:
1. Click Edit next to the desired keyword set.
A dialog box appears. This dialog box lists the current collection of keywords in the keyword set.
2. Select the obsolete keyword in the Custom Keywords list.
3. Press the delete key for your platform.
• Windows, Solaris, and Linux: Backspace
• Macintosh: Delete
4. Click Done.
The IDE saves the modified keyword set.
Debugger Panels
The Debugger group of the Target Settings Panels defines general debugger settings for the project. Consult the Targeting documentation for more information about platformspecific settings panels.
The Debugger panels available on most IDE hosts include:
•
•
•
Other Executables
The Other Executables settings panel ( Figure 28.9
) configures additional executable files
for the IDE to debug together with the current build target.
of this panel.
IDE 5.7 User’s Guide 407
Working with Target Settings
Debugger Panels
Figure 28.9 Other Executables Settings Panel
Table 28.11 Other Executables Settings Panel Items
Icon Item
File list
Debug column
Explanation
Lists executable files that the IDE can debug together with the current build target.
Click in this column to toggle debugging of the corresponding executable file.
Add
Change
Remove
Click to select an executable file to add to the File list.
Click to change the selected entry in the File list.
Click to remove the selected entry in the File list.
Adding an Executable File to the File List
To add an executable file to the File list, follow these steps:
408 IDE 5.7 User’s Guide
Working with Target Settings
Debugger Panels
1. Click Add.
The Debug Additional Executable dialog box appears.
2. Enter in the File Location field the path to the executable file.
Alternatively, click Choose to display a dialog box. Use the dialog box to select the executable file. The path to the selected executable file appears in the File Location field.
3. Select Download file during remote debugging as desired.
When selected, the IDE downloads the executable file from a remote computer during the debugging session. Enter the path to the remote file. Alternatively, click Choose to select the file. Click Clear to delete the current entry.
4. Select Debug merged executable as desired.
When selected, the IDE debugs an executable file that merged with the project output.
Enter the path to the original executable file (prior to merging). Alternatively, click
Choose to select the file. Click Clear to delete the current entry.
5. Click Done.
The IDE adds the executable file to the File list.
Changing an Executable File in the File List
To change an executable file in the File list, follow these steps:
1. Select the desired path.
2. Click Change.
The Debug Additional Executable dialog box appears.
3. Modify the File Location field as desired.
4. Modify the Download file during remote debugging option as desired.
5. Modify the Debug merged executable option as desired.
6. Click Done.
The IDE modifies the executable file.
Removing an Executable File from the File List
To remove an executable file from the File list, follow these steps:
1. Select the obsolete path.
2. Click Remove.
IDE 5.7 User’s Guide 409
Working with Target Settings
Debugger Panels
The IDE removes the executable file from the File list.
Debugger Settings
The Debugger Settings panel ( Figure 28.10
) configures activity logs, data-update
intervals, and other debugger-related options. Table 28.12
explains the items of this panel.
Figure 28.10 Debugger Settings Panel
Table 28.12 Debugger Settings Panel Items
Item
Location of Relocated Libraries and Code Resources
Explanation
Enter the path to code resources or relocated libraries required for debugging the project.
Alternatively, click Choose to select the required files.
Select to halt program execution at the beginning of a debugging session. Select the desired stop point:
Program entry point, Default language entry
point, or User specified.
Select to halt program execution upon entering the program.
410 IDE 5.7 User’s Guide
Working with Target Settings
Debugger Panels
Table 28.12 Debugger Settings Panel Items ( continued)
Item
User specified
Auto-target Libraries
Explanation
Select to halt program execution upon entering a default point defined by the programming language.
Select to halt program execution at a specified function or address. Enter the desired function name or address in the corresponding field. If you enter an address, ensure that it is correct and within your program.
Select to debug dynamically linked libraries (DLLs) loaded by the target application, at the expense of slower performance.
Select to have the IDE cache the symbolics information it generates for a project. Clear to have the IDE discard the information after each debugging session ends.
Select to log all system messages to a Log window.
Select to halt program execution at every watchpoint. Clear to halt program execution at watchpoints with changed values.
Enter the number of seconds n
to wait before updating the data displayed in debugging-session windows.
Remote Debugging
The Remote Debugging settings panel (
) configures target-specific network settings for remote-debugging connections between the host computer and other computers. Use this target-specific panel to build on the general connections defined in the
Remote Connections panel of the IDE Preferences window.
explains the items of this panel.
IDE 5.7 User’s Guide 411
Working with Target Settings
Debugger Panels
Figure 28.11 Remote Debugging Settings Panel
Table 28.13 Remote Debugging Settings Panel Items
Item Explanation
Select to define (for the current build target) a remote-debugging connection in terms of a general connection. Choose from the Connection pop-up menu the desired general connection.
Enter the path to the directory in which to store downloaded files.
Launch remote host application
Select to launch an application on the remote computer to serve as a host application. Enter the path to the remote application.
412 IDE 5.7 User’s Guide
Working with Target Settings
Debugger Panels
IDE 5.7 User’s Guide 413
Working with Target Settings
Debugger Panels
414 IDE 5.7 User’s Guide
Ladda ner
Annons