# Variable f rather than frame f in debugger

**URL:** <https://www.ruby-forum.com/t/variable-f-rather-than-frame-f-in-debugger/180625>\
**Category:** Rails\
**Created:** [December 23, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/variable-f-rather-than-frame-f-in-debugger/180625 "2009-12-23T23:46:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [December 23, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/variable-f-rather-than-frame-f-in-debugger/180625/1 "2009-12-23T23:46:15Z")

</div>

Newb here.

I have a parameter (i.e. do |f|) f in new.html.erb

I am inside the debugger and I issue an  
f  
and the debugger comes back with  
Missing a frame number argument.

How do I get access to the variable f instead of issuing a “frame”  
command?

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [December 24, 2009, 12:24am UTC](https://www.ruby-forum.com/t/variable-f-rather-than-frame-f-in-debugger/180625/2 "2009-12-24T00:24:54Z")

</div>

Ralph S. wrote:

> Newb here.
> 
> I have a parameter (i.e. do |f|) f in new.html.erb
> 
> I am inside the debugger and I issue an  
> f  
> and the debugger comes back with  
> Missing a frame number argument.
> 
> How do I get access to the variable f instead of issuing a “frame”  
> command?

Use the debugger’s print or eval commands. Type ‘help’ in the debugger  
for more info.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
