-
Notifications
You must be signed in to change notification settings - Fork 110
update for current version #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello @mark-moseley, @nobu request correct ruby-debug behavior under Ruby 1.9.3. This was reported as a Ruby bug: http://redmine.ruby-lang.org/issues/5193 With the upcoming 1.9.3 release, can you take a look and let us know any possible issue? Thank you. /cc @cfis |
|
Luis, yes, I am planning to incorporate his changes once I get a moment to look at it. As I understand it, it's specific to the Visual Studio compiler (or all non-gcc compilers?), which I'm not set up to use at the moment. Can you assist with testing? |
|
No, it's for all compilers, gcc and VC at least. |
|
Nobu is correct, this is for all compilers across all operating systems. One thing I am confused about though is this branch being maintained anymore? All the recent activity has been on the JetBrains branch: https://github.com/JetBrains/ruby-debug-base19 Are you guys working together or are these two separate efforts now? Where should this patch go? Charlie |
|
I'm confused then, because I can compile 1.9.3-preview1 on Linux/gcc. What does this fix exactly? |
|
You should try ruby_1_9_3 branch instead than preview1 release |
|
My intention is to maintain this branch. JetBrains has some additional fixes. I haven't seen their test cases so I haven't incorporated them. |
|
Got it, thanks for the info. So the particular issue I have is that ruby-debug-base19 no longer compiles against the ruby_1_9_3 branch. The preview released did compile fine because the change in question was after that, see: The result of this change is using GetThreadPtr results in linker errors because ruby_threadptr_data_type became private, so its not exported from the ruby dll on windows (gcc or vc++). This apparently happens on debian too - see http://rubyforge.org/tracker/index.php?func=detail&aid=29222&group_id=8883&atid=34290. Since ruby-debug uses GetThreadPtr, its cannot be compiled anymore, and thus no longer works. |
|
FYI - I'm happy to test on windows and fedora... |
|
@nobu: using the current ruby trunk (1.9.4dev 33177), I've incorporated your changes. I also had to add your ruby_current_thread fix to linecache19. Now I'm getting the following error: dyld: lazy symbol binding failed: Symbol not found: _rb_method_entry |
|
Mark, I was going to test this with 1.9.3dev but I don't see where this is: 'ruby_current_thread fix to linecache19' If you merge these changes into topic branches for ruby-debug and linecache19 I can easily reference them with bundler and then very easily test with applications on 1.9.3dev or 1.9.4dev Thanks |
|
Nobu/Mark, any progress on this? Happy to help if needed. Thanks - Charlie |
|
@stepheneb: no need to test until I get a resolution to the rb_method_entry symbol not found issue (and whatever other unresolved externals that might come after that). I'm not going to check in changes until they are somewhat stable. @cfis: I'm stuck until I get nobu's help on rb_method_entry issue |
|
Hi Mark - Thanks for the update. I'll update the ticket on Ruby bug tracker. |
|
Just being a pain and bringing this up again ... I updated the Ruby tracker ticket also. |
This reverts commit f4b590a.
|
Hi Mark - If you have a moment, there are some questions about why ruby-debug needs to use id2ref and ref2id on the ruby tracker ticket this issue started with. See: |
|
Hi We who ruby 1.9.3 release team plan to release 1.9.3-rc1 at this weekend and release 1.9.3p0 at next week. PLEASE join to ruby-core discussion and hopefully makes productive conclusion. This issue has a very little discussion time anymore. http://redmine.ruby-lang.org/issues/5193 Thank you. |
|
I've merged in Nobu's changed. Updated gems (linecache19 0.5.13 and ruby-debug-base19 0.11.26) are at RubyForge, on the files section for ruby-debug19 (http://rubyforge.org/frs/?group_id=8883) |
update for Ruby 1.9.3-rc1
|
Ah, very cool -- are you planning to push to rubygems.org? |
|
Once it's stable, yes. I'm seeing some segmentation faults in some of the regression tests. |
|
Ah.. Well I'm having great results on Ruby 1.9.3-rc1! Thank you! |
|
Hi all. Is it because these version are not the same as on Rubyforge? |
No description provided.