I'm trying override getBreadcrumbPath() in Magento\Catalog\Helper\Data.
In di.xml
<type name="Magento\Catalog\Helper\Data">
<plugin name="Helper" type="XXX\YYY\Plugin\Helper\Data" sortOrder="10"/>
</type>
In plugin
public function aroundGetBreadcrumbPath(\Magento\Catalog\Helper\Data $subject, callable $proceed)
{
echo "hi";exit;
}
But its not working