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 "CDT/Archive/cdt-debug-dsf"

< CDT‎ | Archive
m (Features)
m (Test Procedures)
Line 104: Line 104:
  
 
== Test Procedures ==
 
== Test Procedures ==
 +
 +
=== Testing Debug view with PDA Example ===
 +
 +
* ''Launching''
 +
*; Launch a new program
 +
*: Debug view activated upon launch (if preference set)
 +
*; Check initial selection after launch
 +
*: If the program is suspended, top stack frame should be selected.
 +
*: If the program is running, the process should be selected.

Revision as of 17:58, 5 January 2009

Leader

Overview

Features

Debug view

  • Launching
    • Debug perspective activation on launch
    • Debug view activated on breakpoint hit
    • Initial selection after launch
  • Debug Targe' element
    • Debug Target label
    • Resume/suspend operations
    • Terminating
    • Target program completion and exit handling
  • Thread element
    • Thread label
    • Resume/suspend operations
    • Step operations
    • Multi-threaded programs
    • Manual thread refresh mode
  • Stack Frame element
    • Frame label
    • Selection upon suspend
    • Resume/suspend operations
    • Step operations
    • Displaying limited number of frames
      • Preference
      • Viewing additional trace using double-click/context menu
  • Source Display
    • Source display upon stack frame selection
    • Stepping through different files
  • Fast stepping
    • Stepping fast by holding down the F5 key
      • The Instruction Pointer in the editor should be painted after every step
      • The line high-lighting selection in the editor should disappear until stepping slows down
    • Minimum step interval preference
    • Delay stepping to update views preference

Variables view

  • Variables display
    • Variable name, address, type, value
    • Complex variables (with child elements)
    • Arrays
    • Changing variable value
  • Variables for active stack frame, thread, debug target

Registers view

  • Register Group
    • Label: name, description
  • Register
    • Label: name, type, description, value
    • Editing values
  • Bit Field: name, type, description, value
    • Editing
    • Mnemonics: viewing, selecting

Expressions view

  • Adding new expressions
    • Using context menu in variables view, registers view, editor
    • Using drag and drop
    • By typing in expression into the "New Expression" entry.
    • Using the New Expression dialog.
  • Expressions with child elements
  • Removing expressions
    • Preserving expanded state of elements when removing.
    • Using "Remove All"
  • Editing expressions
    • In-line
    • Using dialog
  • Editing expression values
    • Editor type (text vs. drop down, etc.) as dictated by the expression type
    • Updates the corresponding value in other views
    • Values update as they are modified in other views

Modules view

  • Labels
  • Detail pane info (type, symbols loaded, file, base address, size).

All Variables views (variables, registers, expressions)

  • Default number format
  • Updating
    • When stepping
    • When changing selection in Debug view

Update modes (variables, registers, expressions)

  • Visibility controlled using the Debug Update Policies action set
  • Selecting a mode
    • Disabled when no DSF debug session active
    • Persisted across debug sessions, workbench sessions.
  • Automatic mode
  • Manual mode
  • Breakpoint hit mode
  • Refresh Action
    • Updates the change history
  • Refresh All

Number Format Detail Pane

  • Variables name and type
  • Value shown in all available formats

Bugs

Test Procedures

Testing Debug view with PDA Example

  • Launching
    Launch a new program
    Debug view activated upon launch (if preference set)
    Check initial selection after launch
    If the program is suspended, top stack frame should be selected.
    If the program is running, the process should be selected.

Back to the top