7/7/2023 0 Comments Shell script debugger eclipseTogether they demonstrate one possible work flow for using the Eclipse Debug Perspective. The following lessons are intended to be run sequentially. This step requires the value of the Connection: field to be set to a valid connection and the development machine to be connected to the target machine.įigure 3: Debug Configuration Debugger TabĬlick Apply when the above changes have been implemented. to search the remote file system for the target binary. Type the location in the provided text field. When uploading the application using the EMAC SDK Makefile, this location is /tmp/pthread_demo. Manually browse the file system to find the pthread_demo executable using Browse.Ĭhoose a value for Remote Absolute File Path for C/C++ Application. Type pthread_demo to search for the application binary. Note that this text field takes the path relative to a project's root directory. Type projects/pthread_demo/pthread_demo in the text field provided. to choose the correct project.Ĭhoose a value for the C/C++ Application: using one of the methods listed below: If this is not the EMAC SDK project or if your source code is contained in another project, click Browse. The default for the Project: field will be the currently-active project. The examples below use the name pthread_demo.įor instructions relating to fields in the main tab, refer to Figure 1 below.Ĭhoose a connection from the Connection: drop-down menu or click New. This name can be changed in the top leftmost text field labeled Name. A new configuration with the same name as the currently open project will appear. In the Type List, right-click C/C++ Remote Application and select New. to bring up the Debug Configuration Dialog. In the Project Explorer View, right-click the project to be run. Because of this, it should be treated as an example of how to set up a Debug Configuration rather than a general guide for doing so. The following procedure uses field values which are specific to this particular debug session. This is important because the remote target's CPU architecture must be taken into account by the debugger since each EMAC OE SDK is configured specifically for its particular target board.
0 Comments
Leave a Reply. |