which hook is effective for setting custom breadcrumbs? I have a theme which sets breadcrumbs like this:

function mytheme_process_node(&amp;$variables) {
    (....)
    drupal_set_breadcrumb($my_breadcrumbs_array);
}


This gets overwritten later by something else. I need a specific taxonomy value of the displayed node to set the breadcrumb, that's why I am using this hook. How to do it effectively? Perhaps there is a hook which is performed later and still has access to the node object?
I normally stick that logic in hook_preprocess_page(), it runs late enough in the page build to not be overwritten by anything else.

You can still get access to the node object by using the menu_get_object() function:

function MYTHEME_preprocess_page(&amp;$vars) {
  if ($node = menu_get_object()) {
    // We're on a node page...
    drupal_set_breadcrumb($my_breadcrumbs_array);
  }
}