https://github.com/daskol/gdb-colour-filter

Colourify backtrace output in GDB with Python API

https://github.com/daskol/gdb-colour-filter

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary

Keywords

backtrace gdb python python3
Last synced: 5 months ago · JSON representation

Repository

Colourify backtrace output in GDB with Python API

Basic Info
  • Host: GitHub
  • Owner: daskol
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 245 KB
Statistics
  • Stars: 37
  • Watchers: 1
  • Forks: 5
  • Open Issues: 1
  • Releases: 0
Topics
backtrace gdb python python3
Created almost 8 years ago · Last pushed about 6 years ago
Metadata Files
Readme License

README.md

GDB Colour Filter

colourify backtrace output in GDB with Python API

Overview

GDB Colour Filter implements frame filter for GDB Python API. There could be several chained filters. GDB calls this filter on each element(frame) of backtrace. All frame filter has a priority from the lowest (0) to the high. This filter is defined for the lowest priority so it is the last filter that is called before printing stack trace.

Colouring example

Installation

Installation is quite straight forward. It is needed only put color_filter.py in some directory and include it into your .gdbinit file. In order to do the first step one could clone whole repository

bash git clone https://github.com/daskol/gdb-colour-filter.git .gdb/gdb-colour-filter

or just download could_filter.py in the specified directory.

bash mkdir -p .gdb/gdb-colour-filter wget -O .gdb/gdb-colour-filter/colour_filter.py \ https://raw.githubusercontent.com/daskol/gdb-colour-filter/master/colour_filter.py

After that colour_filter.py should be included in .gdbinit in following manner.

bash source ~/.gdb/gdb-colour-filter/colour_filter.py

Credits

© Daniel Bershatsky <daniel.bershatsky@skolkovotech.ru>, 2018

Owner

  • Name: Daniel Bershatsky
  • Login: daskol
  • Kind: user
  • Location: Russia, Moscow
  • Company: @skoltech-ai

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 9
  • Total Committers: 3
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.222
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Daniel Bershatsky d****y@s****u 7
Aurelien Bouteiller b****l@i****u 1
antlord a****2@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 4
  • Total pull requests: 3
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 3.25
  • Average comments per pull request: 0.67
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sashanicolas (1)
  • allopislozano (1)
  • abouteiller (1)
  • tkittel (1)
Pull Request Authors
  • daskol (1)
  • ANtlord (1)
  • abouteiller (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels