Issue #6984 has been updated by Daniel Pittman.

Ben Hughes wrote:

> So Dan raises a valid issue. This will make it harder to debug in the future.
> Do we want to do something a) about that? b) now?

Not before 2.7.0 release, I think.  It would be easy to have the debugger 
highlight the template that the code is built from, though, if that was 
considered desirable...

----------------------------------------
Bug #6984: string action invocation cannot be chased with a debugger
https://projects.puppetlabs.com/issues/6984

Author: Dan Bode
Status: Needs Decision
Priority: Low
Assignee: Nigel Kersten
Category: plumbing
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


when trying to run a debugger on an action invocation, I get the following 
error.

<pre>
(@types_interface.search('*') || []).select do |resource|
(rdb:1) s
/usr/local/dev/puppet-interfaces/lib/puppet/string/action.rb+eval:80
(rdb:1) list
*** No sourcefile available for 
/usr/local/dev/puppet-interfaces/lib/puppet/string/action.rb+eval
</pre>

The debugger will not follow the code into when_invoked (its possible that I am 
doing something wrong)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to