Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
generic software skills
lecture materials
Commits
09313efb
Commit
09313efb
authored
11 months ago
by
Rene Redler
Browse files
Options
Downloads
Patches
Plain Diff
fixes gdb options
parent
7c631494
No related branches found
No related tags found
1 merge request
!56
Debugging Strategies lecture notes
Pipeline
#67081
passed
11 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lectures/debugging-strategies/slides.qmd
+3
-2
3 additions, 2 deletions
lectures/debugging-strategies/slides.qmd
with
3 additions
and
2 deletions
lectures/debugging-strategies/slides.qmd
+
3
−
2
View file @
09313efb
...
@@ -837,16 +837,17 @@ end program loop_count_2d
...
@@ -837,16 +837,17 @@ end program loop_count_2d
- `b <line>`: Add breakpoint at given line number
- `b <line>`: Add breakpoint at given line number
- `info b`: Show current breakpoints
- `info b`: Show current breakpoints
- `clear`: Clear all breakpoints
- `clear`: Clear current breakpoint
- `d`: Clear all breakpoints
- `run`: Run the program
- `run`: Run the program
- `l`: Print code
- `l`: Print code
- `info locals`: Print value of local variables
- `info locals`: Print value of local variables
- `p <var>`: Print value of variable
:::
:::
:::{.column width=50%}
:::{.column width=50%}
- `p <var>`: Print value of variable
- `up`, `down` or `frame <num>`: Navigate stack
- `up`, `down` or `frame <num>`: Navigate stack
- `n`: Next line (without descending)
- `n`: Next line (without descending)
- `step`: Next command
- `step`: Next command
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment