Modified DebuggerAgent.getFunctionDetails

See #474