Modified DebuggerAgent.getFunctionDetails