Skip to content
  • Kai Koehne's avatar
    Avoid hitting the anonymous wrapper functions in .qml file · bfbdec84
    Kai Koehne authored
    
    
    QtDeclarative generates anonymous wrapper functions for QML bindings
    and slots, e.g.
    
        onPressed(): { i++ }
    
    becomes
    
    (function (onPressed) { i++ } )
    
    v8 will by default break when the anonymous function is called, not
    when the actual code is executed. If we now hit this outer function
    we'll relocate the breakpoint to column = 1, and continue.
    
    Change-Id: Ieea4f4ea4fbf21d7245a6243fc36d141948ef2ce
    Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
    bfbdec84