if (APP_DEBUG) printf("SessionHistory::Create Creating Historyentry %x  for webshell %x, parent entry = %x\n", (unsigned int)this, (unsigned int)aWebShell, (unsigned int) aParent);
if (APP_DEBUG) printf("SessionHistory::Create Creating Historyentry %x  for webshell %x, url = %s parent entry = %x\n", (unsigned int)this, (unsigned int)aWebShell, urlstr.ToNewCString(), (unsigned int) aParent);
nsHistoryEntry::Create(nsIWebShell * aWebShell, nsHistoryEntry * aParent, nsISessionHistory * aSHist) {   const PRUnichar * url = nsnull;   // Get the  webshell's url.   aWebShell->GetURL(&url);   // save the webshell's URL in the history entry   SetURL(url);   //Save the webshell id   SetWebShell(aWebShell);      if (APP_DEBUG) printf("SessionHistory::Create Creating Historyentry %x  for webshell %x, parent entry = %x\n", (unsigned int)this, (unsigned int)aWebShell, (unsigned int) aParent);   if (aParent)     aParent->AddChild(this);   // Save the handle to the window's history list      SetSessionHistoryID(aSHist);   return NS_OK;}