Need help on use delegate function in cocos2d-x lua

Need help on use delegate function in cocos2d-x lua
0

Hello
I am developing 2d game with cocos2d-x + lua.
I stuck on using cc.ScrollView
I am going to use delegate functions of CCScrollView in my lua script

Below is ScrollViewDelegate class of cocos2d-x engine.

class CC_EX_DLL ScrollViewDelegate
{
public:
    /**
     * @js NA
     * @lua NA
     */
    virtual ~ScrollViewDelegate() {}
    /**
     * @js NA
     * @lua NA
     */
    virtual void scrollViewDidScroll(ScrollView* view) {};
    /**
     * @js NA
     * @lua NA
     */
    virtual void scrollViewDidZoom(ScrollView* view) {};
};

And here is my lua script

function MyScene:test()
    local scrollView = cc.ScrollView:create()
    scrollView:setContentOffset(cc.p(0,0))
    scrollView:setDirection(2)
    scrollView:setAnchorPoint(0, 0)
`        ...`
end
//delegate functions:
function MyScene:scrollViewDidScroll(scrollView)
  //how can I make my lua script to make breakpoint here....
end

I defined scrollViewDidScroll() funciton in my lua.
How can I make scrollView to call this delegate function scrollViewDidScroll()?

Thank you
Best Regards