Commit 8c2c40c311a61149996938a016c28590fa785d9a
- Date: Wed Apr 09 22:05:27 +0000 2008
- Committer: Tim Harper (timcharper@gmail.com)
- Author: Tim Harper (timcharper@gmail.com)
- Commit SHA1: 8c2c40c311a61149996938a016c28590fa785d9a
- Tree SHA1: de846bd777e2e2f07b5821c1d0fa2999d34171d5
show stack command was broken while refactoring to remove_eval code. fixed
Commit diff
| |   |
| 20 | 20 | |
| 21 | 21 | d = DebuggerCmd.new |
| 22 | 22 | |
| 23 | | d.install_extension |
| 24 | 23 | output = d.remote_eval_control_binding <<-EOF |
| 25 | | c=Debugger.current_context; |
| 24 | c=Debugger.context; |
| 26 | 25 | (0..(c.stack_size - 1)).to_a.map do |idx| |
| 27 | 26 | { |
| 28 | 27 | :file => c.frame_file(idx), |
| toggle raw diff |
--- a/Commands/Show Stack.tmCommand
+++ b/Commands/Show Stack.tmCommand
@@ -20,9 +20,8 @@ require "#{ENV['TM_SUPPORT_PATH']}/lib/ui.rb"
d = DebuggerCmd.new
-d.install_extension
output = d.remote_eval_control_binding <<-EOF
- c=Debugger.current_context;
+ c=Debugger.context;
(0..(c.stack_size - 1)).to_a.map do |idx|
{
:file => c.frame_file(idx), |