Skip to content

Commit

Permalink
Merge pull request #358 from riscv-software-src/ruby_debug_support
Browse files Browse the repository at this point in the history
Adding support for VSCode rdbg Ruby debugger extension
  • Loading branch information
dhower-qc authored Dec 17, 2024
2 parents aaad5b4 + 015d6b4 commit 42d9d3c
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN apt-get install -y --no-install-recommends bundler
RUN apt-get install -y --no-install-recommends nodejs
RUN apt-get install -y --no-install-recommends npm
RUN apt-get install -y --no-install-recommends ditaa
RUN apt-get install -y --no-install-recommends libyaml-dev
RUN apt-get clean autoclean
RUN apt-get autoremove -y
RUN rm -rf /var/lib/{apt, dpkg, cache, log}
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "rdbg",
"name": "RVA20 Profile",
"request": "launch",
"command": "bundle exec rake",
"script": "gen:profile[RVA20]",
"args": [],
"askParameters": false
}
]
}
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ group :development do
gem 'rubocop-minitest'
gem 'ruby-prof'
gem "ruby-prof-flamegraph"
gem "rdbg"
end
19 changes: 19 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,18 @@ GEM
concurrent-ruby (1.3.3)
css_parser (1.17.1)
addressable
date (3.4.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.1)
e2mmap (0.1.0)
hana (1.3.7)
hashery (2.1.2)
io-console (0.8.0)
irb (1.14.2)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jaro_winkler (1.6.0)
json (2.7.2)
json_schemer (1.0.3)
Expand Down Expand Up @@ -81,13 +89,22 @@ GEM
prawn-templates (0.1.2)
pdf-reader (~> 2.0)
prawn (~> 2.2)
psych (5.2.1)
date
stringio
public_suffix (6.0.0)
pygments.rb (3.0.0)
racc (1.8.0)
rainbow (3.1.1)
rake (13.2.1)
rbs (2.8.4)
rdbg (0.1.0)
debug (>= 1.2.2)
rdoc (6.9.1)
psych (>= 4.0.0)
regexp_parser (2.9.2)
reline (0.6.0)
io-console (~> 0.5)
reverse_markdown (2.1.1)
nokogiri
rexml (3.2.8)
Expand Down Expand Up @@ -131,6 +148,7 @@ GEM
thor (~> 1.0)
tilt (~> 2.0)
yard (~> 0.9, >= 0.9.24)
stringio (3.1.2)
strscan (3.1.0)
thor (1.3.1)
tilt (2.3.0)
Expand All @@ -154,6 +172,7 @@ DEPENDENCIES
minitest
pygments.rb
rake (~> 13.0)
rdbg
rouge
rubocop-minitest
ruby-prof
Expand Down
2 changes: 1 addition & 1 deletion bin/.container-tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3
0.4
1 change: 1 addition & 0 deletions container.def
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ From: ubuntu:24.04
apt-get install -y --no-install-recommends npm

apt-get install -y --no-install-recommends ditaa
apt-get install -y --no-install-recommends libyaml-dev

# cleanup
apt-get clean autoclean
Expand Down

0 comments on commit 42d9d3c

Please sign in to comment.