This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183445 - [69cat] [ruby][debugger] Unable to 'go to source' by clicking on stack trace in output window
Summary: [69cat] [ruby][debugger] Unable to 'go to source' by clicking on stack trace ...
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@ruby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-04 07:35 UTC by esmithbss
Modified: 2011-01-28 20:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-04-04 07:35:00 UTC
[ BUILD # : 201003040201 ]
[ JDK VERSION : 1.6.* ]

Product Version = NetBeans IDE Dev (Build 201004030201)
Operating System = Linux version 2.6.32-18-generic running on i386
Java; VM; Vendor = 1.6.0_19
Runtime = Java HotSpot(TM) Client VM 16.2-b04

The Stack Trace info that is displayed in the Output Window is not being
processed properly to remove the ascii escape sequences and as a result, the
system cannot interpret a file/line reference and perform a "goto source" on
the visible text.

Here is an example of the output window display.

Setting user...
  [4;35;1mGoldberg::User Columns (2.3ms)[0m   [0mSHOW FIELDS FROM
`goldberg_users`[0m
  [4;36;1mGoldberg::User Indexes (1.2ms)[0m   [0;1mSHOW KEYS FROM
`goldberg_users`[0m
   
[36;2mvendor/plugins/goldberg/app/controllers/goldberg/auth_controller.rb:7:in
`set_user_without_posed_as_user'[0m
    [36;2mapp/controllers/goldberg/goldberg_auth_controller.rb:38:in
`set_user'[0m
    [36;2mvendor/plugins/haml/rails/./lib/sass/plugin/rack.rb:44:in `call'[0m
    [36;2mvendor/plugins/haml/rails/./lib/sass/plugin/rack.rb:44:in `call'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'[0m
    [36;2m/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'[0m
   
[36;2m/usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug-ide.rb:10
9:in `debug_load'[0m
   
[36;2m/usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/lib/ruby-debug-ide.rb:10
9:in `debug_program'[0m
   
[36;2m/usr/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.9/bin/rdebug-ide:87[0m
    [36;2m/usr/bin/rdebug-ide:19:in `load'[0m
    [36;2m/usr/bin/rdebug-ide:19[0m
Comment 1 esmithbss 2010-04-04 07:38:36 UTC
That should read  BUILD [201004030201]
Comment 2 Erno Mononen 2010-04-06 08:38:37 UTC
I'll fix for 6.9, there is also a similar issue with normal execution.