Skip to content

Commit dedc61f

Browse files
committed
Should not fail if breakpoint's file is incorrect
1 parent 41d0398 commit dedc61f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

ChangeLog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
## [0.4.23.beta9](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.23.beta9...v0.4.23.beta10)
1+
## [0.4.23.beta11](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.23.beta10...v0.4.23.beta11)
2+
3+
* adding breakpoint in non-existing file should not break debugger
4+
[RUBY-15873](https://youtrack.jetbrains.com/issue/RUBY-15873)
5+
6+
## [0.4.23.beta10](https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.23.beta9...v0.4.23.beta10)
27

38
* fixed problem with printing hashes [RUBY-15804](https://youtrack.jetbrains.com/issue/RUBY-15804)
49

lib/ruby-debug-ide/commands/breakpoints.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def realpath(filename)
7070
if (RUBY_VERSION < '1.9') || (RbConfig::CONFIG['host_os'] =~ /mswin/)
7171
filename
7272
else
73-
File.realpath(filename)
73+
File.realpath(filename) rescue filename
7474
end
7575
end
7676
end

lib/ruby-debug-ide/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debugger
2-
IDE_VERSION='0.4.23.beta10'
2+
IDE_VERSION='0.4.23.beta11'
33
end

0 commit comments

Comments
 (0)