Home Byebug: Error when using "info locals/variables" for getting variables in current scope
Reply: 0

Byebug: Error when using "info locals/variables" for getting variables in current scope

shane
1#
shane Published in 2017-11-10 07:52:47Z

I am new to rails and trying to debug my code. I am using byebug for it.

The problem I am facing is that I want to know the variables in current scope but when I use any of these commands

info locals
info variables

it shows the error

*** Unknown info command locals
*** Unknown info command varibles

I am not able to figure out why this is happening.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.43153 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO