Debugging and modification on function attack