Giter Site home page Giter Site logo

Comments (7)

os97673 avatar os97673 commented on August 10, 2024

could you please try to run ruby debugger in verbose mode and provide its output

from ruby-debug-ide.

MatsGard avatar MatsGard commented on August 10, 2024

Yes, but how do I run ruby-debug-ide in verbose mode?
I run my application from Netbeans.

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

Unfortunately I'm do not know :( I'd suggest you to contact Netbeans' team

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

you need to pass "--debug" argument to rdebug-ide somehow

from ruby-debug-ide.

MatsGard avatar MatsGard commented on August 10, 2024

I have tried to uncomment in ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:

opts.on("-d", "--debug", "Debug self - prints information for debugging ruby-debug itself") do

Debugger.cli_debug = true

end

But I can't see anything other than the normal stuff in development.log, perhaps it logs somewhere else?

I also sent an error report to Netbeans and perhaps their answer can be a lead:
"User Comments:
dkmd_nielsen: Attempting to debug into a method by calling the method's alias
name. It's been a while since I've encountered this error. The method is new.
The project just initialized a Mercurial database. These module changes are
not yet committed. There is nothing really new about this project I'm working
on, except the above.

GUEST: Waiting for variables to display"

from ruby-debug-ide.

MatsGard avatar MatsGard commented on August 10, 2024

Now it worked, the following is logged after stopping at a breakpoint, when I switch to the variables tab:

28024: <breakpoint file="/root/aptilo-webgui/aptilo_webgui/app/views/external_networks/node_groups/index.html.erb" line="1" threadId="4"/>
28024: Stopping Thread #<Thread:0x00000006e221f0> (28024)
28024: Threads equal: true
28024: Processing in control: th l
28024: <threads>
28024: <thread id="1" status="sleep" pid="28024" />
28024: <thread id="4" status="sleep" pid="28024" />
28024: <thread id="5" status="sleep" pid="28024" />
28024: </threads>
28024: Processing in context: w
28024: <frames>
28024: <frame no='1' file='/root/aptilo-webgui/aptilo_webgui/app/views/external_networks/node_groups/index.html.erb' line='1' current='true' />
28024: <frame no='2' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/template.rb' line='145' />
28024: <frame no='3' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications.rb' line='125' />
28024: <frame no='4' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/template.rb' line='143' />
28024: <frame no='5' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/template_renderer.rb' line='47' />
28024: <frame no='6' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/abstract_renderer.rb' line='38' />
28024: <frame no='7' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications.rb' line='123' />
28024: <frame no='8' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications/instrumenter.rb' line='20' />
28024: <frame no='9' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications.rb' line='123' />
28024: <frame no='10' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/abstract_renderer.rb' line='38' />
28024: <frame no='11' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/template_renderer.rb' line='46' />
28024: <frame no='12' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/template_renderer.rb' line='54' />
28024: <frame no='13' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/template_renderer.rb' line='45' />
28024: <frame no='14' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/template_renderer.rb' line='18' />
28024: <frame no='15' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/renderer.rb' line='36' />
28024: <frame no='16' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_view/renderer/renderer.rb' line='17' />
28024: <frame no='17' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/rendering.rb' line='110' />
28024: <frame no='18' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/streaming.rb' line='225' />
28024: <frame no='19' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/rendering.rb' line='103' />
28024: <frame no='20' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/renderers.rb' line='28' />
28024: <frame no='21' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/compatibility.rb' line='50' />
28024: <frame no='22' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/rendering.rb' line='88' />
28024: <frame no='23' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/rendering.rb' line='16' />
28024: <frame no='24' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='40' />
28024: <frame no='25' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/core_ext/benchmark.rb' line='5' />
28024: <frame no='26' file='/usr/share/ruby/benchmark.rb' line='296' />
28024: <frame no='27' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/core_ext/benchmark.rb' line='5' />
28024: <frame no='28' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='40' />
28024: <frame no='29' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='83' />
28024: <frame no='30' file='/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/railties/controller_runtime.rb' line='24' />
28024: <frame no='31' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='39' />
28024: <frame no='32' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/implicit_render.rb' line='10' />
28024: <frame no='33' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/responder.rb' line='232' />
28024: <frame no='34' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/responder.rb' line='160' />
28024: <frame no='35' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/responder.rb' line='153' />
28024: <frame no='36' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/responder.rb' line='146' />
28024: <frame no='37' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/mime_responds.rb' line='239' />
28024: <frame no='38' file='/root/aptilo-webgui/aptilo_webgui/app/controllers/application/response.rb' line='22' />
28024: <frame no='39' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/mime_responds.rb' line='196' />
28024: <frame no='40' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/mime_responds.rb' line='196' />
28024: <frame no='41' file='/root/aptilo-webgui/aptilo_webgui/app/controllers/application/response.rb' line='21' />
28024: <frame no='42' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/implicit_render.rb' line='4' />
28024: <frame no='43' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/base.rb' line='167' />
28024: <frame no='44' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/rendering.rb' line='10' />
28024: <frame no='45' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/callbacks.rb' line='18' />
28024: <frame no='46' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='503' />
28024: <frame no='47' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='215' />
28024: <frame no='48' file='/root/aptilo-webgui/aptilo_webgui/app/helpers/edit_modes_helper.rb' line='97' />
28024: <frame no='49' file='/root/aptilo-webgui/aptilo_webgui/app/models/edit_mode.rb' line='85' />
28024: <frame no='50' file='/root/aptilo-webgui/aptilo_webgui/app/helpers/edit_modes_helper.rb' line='95' />
28024: <frame no='51' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='214' />
28024: <frame no='52' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='469' />
28024: <frame no='53' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='405' />
28024: <frame no='54' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='385' />
28024: <frame no='55' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='81' />
28024: <frame no='56' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/callbacks.rb' line='17' />
28024: <frame no='57' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/rescue.rb' line='29' />
28024: <frame no='58' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='30' />
28024: <frame no='59' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications.rb' line='123' />
28024: <frame no='60' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications/instrumenter.rb' line='20' />
28024: <frame no='61' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/notifications.rb' line='123' />
28024: <frame no='62' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/instrumentation.rb' line='29' />
28024: <frame no='63' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/params_wrapper.rb' line='207' />
28024: <frame no='64' file='/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/railties/controller_runtime.rb' line='18' />
28024: <frame no='65' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/base.rb' line='121' />
28024: <frame no='66' file='/usr/share/gems/gems/actionpack-3.2.17/lib/abstract_controller/rendering.rb' line='45' />
28024: <frame no='67' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal.rb' line='203' />
28024: <frame no='68' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal/rack_delegation.rb' line='14' />
28024: <frame no='69' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_controller/metal.rb' line='246' />
28024: <frame no='70' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb' line='73' />
28024: <frame no='71' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb' line='73' />
28024: <frame no='72' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb' line='36' />
28024: <frame no='73' file='/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb' line='68' />
28024: <frame no='74' file='/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb' line='56' />
28024: <frame no='75' file='/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb' line='56' />
28024: <frame no='76' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/routing/route_set.rb' line='608' />
28024: <frame no='77' file='/usr/share/gems/gems/warden-1.2.3/lib/warden/manager.rb' line='35' />
28024: <frame no='78' file='/usr/share/gems/gems/warden-1.2.3/lib/warden/manager.rb' line='34' />
28024: <frame no='79' file='/usr/share/gems/gems/warden-1.2.3/lib/warden/manager.rb' line='34' />
28024: <frame no='80' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/best_standards_support.rb' line='17' />
28024: <frame no='81' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/etag.rb' line='23' />
28024: <frame no='82' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/conditionalget.rb' line='25' />
28024: <frame no='83' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/head.rb' line='14' />
28024: <frame no='84' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/params_parser.rb' line='21' />
28024: <frame no='85' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/flash.rb' line='242' />
28024: <frame no='86' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb' line='210' />
28024: <frame no='87' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/session/abstract/id.rb' line='205' />
28024: <frame no='88' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/cookies.rb' line='341' />
28024: <frame no='89' file='/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/query_cache.rb' line='64' />
28024: <frame no='90' file='/usr/share/gems/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb' line='479' />
28024: <frame no='91' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/callbacks.rb' line='28' />
28024: <frame no='92' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='405' />
28024: <frame no='93' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='405' />
28024: <frame no='94' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='385' />
28024: <frame no='95' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/callbacks.rb' line='81' />
28024: <frame no='96' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/callbacks.rb' line='27' />
28024: <frame no='97' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/reloader.rb' line='65' />
28024: <frame no='98' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/remote_ip.rb' line='31' />
28024: <frame no='99' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb' line='16' />
28024: <frame no='100' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb' line='56' />
28024: <frame no='101' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/rack/logger.rb' line='32' />
28024: <frame no='102' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/rack/logger.rb' line='16' />
28024: <frame no='103' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb' line='22' />
28024: <frame no='104' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/rack/logger.rb' line='16' />
28024: <frame no='105' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb' line='22' />
28024: <frame no='106' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/methodoverride.rb' line='21' />
28024: <frame no='107' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/runtime.rb' line='17' />
28024: <frame no='108' file='/usr/share/gems/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb' line='72' />
28024: <frame no='109' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/lock.rb' line='15' />
28024: <frame no='110' file='/usr/share/gems/gems/actionpack-3.2.17/lib/action_dispatch/middleware/static.rb' line='63' />
28024: <frame no='111' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/engine.rb' line='484' />
28024: <frame no='112' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/application.rb' line='231' />
28024: <frame no='113' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/content_length.rb' line='14' />
28024: <frame no='114' file='/usr/share/gems/gems/railties-3.2.17/lib/rails/rack/log_tailer.rb' line='17' />
28024: <frame no='115' file='/usr/share/gems/gems/rack-1.4.5/lib/rack/handler/webrick.rb' line='59' />
28024: <frame no='116' file='/usr/share/ruby/webrick/httpserver.rb' line='138' />
28024: <frame no='117' file='/usr/share/ruby/webrick/httpserver.rb' line='94' />
28024: <frame no='118' file='/usr/share/ruby/webrick/server.rb' line='295' />
28024: </frames>
28024: Processing in context: frame 1
28024: Selected frame no 0
28024: Processing in context:  v l
28024: <variables>
28024: <variable name="self" compactValue="#&lt;#&lt;Class:0x00000006c60600&gt;:0x00000006c68d28&gt;" kind="local" value="#&lt;#&lt;Class:0x00000006c60600&gt;:0x00000006c68d28&gt;" type="#<Class:0x00000006c60600>" hasChildren="true" objectId="+0x3634694">
28024: <value><![CDATA[#&lt;#&lt;Class:0x00000006c60600&gt;:0x00000006c68d28&gt;]]></value>
28024: </variable>
28024: <variable name="_old_output_buffer" kind="local"/>
28024: <variable name="_old_virtual_path" kind="local"/>
28024: <variable name="local_assigns" compactValue="{}" kind="local" value="Empty Hash" type="Hash" hasChildren="false" objectId="+0x363b048">
28024: <value><![CDATA[Empty Hash]]></value>
28024: </variable>
28024: <variable name="output_buffer" kind="local"/>
28024: </variables>
28024: INTERNAL ERROR!!! Connection reset by peer

28024: <error>
28024: <error>

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

We have extended the protocol (variable node contains value sub-node) which is supposed to be compatible from xml point of view but debugcommons (which is used by Netbeans) is not prepared for this change. So you should either use 0.4.23.beta1 or ask Netbeans team to fix debugcommons (I will be happy to help them if they need such help)

from ruby-debug-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.