Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "DD Manual Test Plan"

(Variables view)
(Variables view)
Line 47: Line 47:
 
* Stop a debugged program when it has at least two stack levels
 
* Stop a debugged program when it has at least two stack levels
 
* Open variables view
 
* Open variables view
* Check that all variables of the current stack are shown
+
** Check that all variables of the current stack are shown
* Check that all values are shown
+
** Check that all values are shown
* Check that the type column can be added and removed with the button
+
** Check that the type column can be added and removed with the button
* Check that complex variables have a little arrow on the left
+
** Check that complex variables have a little arrow on the left
* Check that the arrow can be expanded to show children
+
** Check that the arrow can be expanded to show children
* Select different variables in the view and check that the details pane shows the different formats
+
** Select different variables in the view and check that the details pane shows the different formats
 
* Change the stack frame in the debug view
 
* Change the stack frame in the debug view
* Check that the variables view properly shows the variables for the selected stack frame
+
** Check that the variables view properly shows the variables for the selected stack frame
 
* Go back to the previous stack frame in the debug view
 
* Go back to the previous stack frame in the debug view
* Check that the variables view properly shows the variables for the selected stack frame
+
** Check that the variables view properly shows the variables for the selected stack frame
  
 
=== Registers view ===
 
=== Registers view ===

Revision as of 13:35, 3 January 2008

Nav: DSDP/DD | DSDP/DD/Testing | DD Test Instructions | DD Known Issues and Workarounds | DD Manual Test Plan


DSF Features

Debug view

  • Launch
    • Check: debug perspective activated on launch
    • Check: debug view activated on launch
    • Check: stack frame selected on break on main after launch
  • Target
    • Check: process name shown in label
    • Expand process to show threads.
    • Select the target
    • Check: resume/suspend operations are enabled
    • Try resuming suspending
    • Check: all threads should resume/suspend
    • Check: stepping operations should be disabled
    • Terminating the target
    • Check: Terminated target should remain in the view with a "<terminated>" label prefix a terminated target icon.
    • Run program to the completion,
    • Check: target should change state to terminated.
  • Threads
    • Check: thread label shows thread ID and the current status.
    • Select a thread.
    • Check: resume/suspend operations should be enabled
    • Check: step operations should also be enabled
    • Try resuming/suspending/stepping
    • Try stepping fast by holding down the F5 key
    • Run a multi-threaded program
    • Check: new threads should be added to the bottom of the thread list as they are created
    • Check: exited threads are removed from the thread list
    • Expand threads to show stack traces
    • Check: When stepping a thread, other threads should remain collapsed/expanded as they were
  • Stack frames
    • Check: frame label should contain:
      • Stack frame number
      • Function name if known
      • File and line
      • Current program counter
    • Select a stack frame
    • Check: source editor is opened and positioned to the location of the PC
    • Check: run control operations should be the same as when a thread is selected
    • Check: when a thread hits a breakpoint, that thread's stack frame is automatically selected

Variables view

  • Stop a debugged program when it has at least two stack levels
  • Open variables view
    • Check that all variables of the current stack are shown
    • Check that all values are shown
    • Check that the type column can be added and removed with the button
    • Check that complex variables have a little arrow on the left
    • Check that the arrow can be expanded to show children
    • Select different variables in the view and check that the details pane shows the different formats
  • Change the stack frame in the debug view
    • Check that the variables view properly shows the variables for the selected stack frame
  • Go back to the previous stack frame in the debug view
    • Check that the variables view properly shows the variables for the selected stack frame

Registers view

Expressions view

Modules view

Number formats detail pane

Update modes

Breakpoints (General)

GDB Features

GDB Basic Sanity Test

  1. Check out and build the sanity test project from /cvsroot/dsdp/org.eclipse.dd.dsf/tests/SanityTest
  2. Launch the DSF debugger with break at main
  3. Follow instructions in the test.

Launching

Breakpoints (CDT)

Traditional Memory Rendeding

IP-XACT Editor

Back to the top