VirtualBox

Changeset 4308 in vbox for trunk/src


Ignore:
Timestamp:
Aug 23, 2007 11:04:59 AM (17 years ago)
Author:
vboxsync
Message:

Test code to debug a crash.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r4306 r4308  
    812812}
    813813
     814#define CRASHTEST64(a) do { LogRel(a); RTLogFlush(RTLogRelDefaultInstance()); } while (0)
     815
    814816#ifdef VRDP_NO_COM
    815817void Console::VRDPInterceptClipboard (uint32_t u32ClientId)
     
    822824{
    823825    LogFlowFuncEnter();
    824 
     826   
     827    CRASHTEST64(("enter %p\n", u32ClientId));
     828   
    825829#ifdef VRDP_NO_COM
    826830    Console *console = this;
     
    828832    Console *console = static_cast <Console *> (pvUser);
    829833#endif /* VRDP_NO_COM */
     834    CRASHTEST64(("console %p\n", console));
    830835    AssertReturnVoid (console);
    831836
     
    833838    AssertComRCReturnVoid (autoCaller.rc());
    834839
     840    CRASHTEST64(("console->mConsoleVRDPServer %p\n", console->mConsoleVRDPServer));
    835841    AssertReturnVoid (console->mConsoleVRDPServer);
    836842
    837843#ifdef VBOX_VRDP
    838844#ifdef VRDP_NO_COM
     845    CRASHTEST64(("going to call the instance client id %d\n", u32ClientId));
    839846    mConsoleVRDPServer->ClipboardCreate (u32ClientId);
    840847#else
     
    843850#endif /* VBOX_VRDP */
    844851
     852    CRASHTEST64(("leave\n"));
    845853    LogFlowFuncLeave();
    846854    return;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette