VirtualBox

Ignore:
Timestamp:
Sep 12, 2008 2:45:16 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
36493
Message:

DBGGui,VirtualBox4: dynamically load the debugger GUI (VBoxDBG).

Location:
trunk/src/VBox/Frontends/VirtualBox4/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h

    r12171 r12424  
    3636#include <QDialog>
    3737
    38 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
     38#ifdef VBOX_WITH_DEBUGGER_GUI
    3939# include <VBox/dbggui.h>
    4040#endif
     
    104104    void retranslateUi();
    105105
    106 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
     106#ifdef VBOX_WITH_DEBUGGER_GUI
    107107    bool dbgCreated();
    108108    void dbgDestroy();
     
    193193    void dbgShowStatistics();
    194194    void dbgShowCommandLine();
     195    void dbgLoggingToggled(bool aBool);
    195196
    196197    void onExitFullscreen();
     
    234235    QAction *devicesInstallGuestToolsAction;
    235236
    236 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
     237#ifdef VBOX_WITH_DEBUGGER_GUI
    237238    // Debugger actions
    238239    QAction *dbgStatisticsAction;
    239240    QAction *dbgCommandLineAction;
     241    QAction *dbgLoggingAction;
    240242#endif
    241243
     
    264266    VBoxUSBMenu *mDevicesUSBMenu;
    265267    /* VBoxSwitchMenu *mDevicesVRDPMenu; */
    266 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
     268#ifdef VBOX_WITH_DEBUGGER_GUI
    267269    // Debugger popup menu
    268270    QMenu *mDbgMenu;
     
    324326    bool mIsAutoSaveMedia : 1;
    325327
    326 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
    327     // Debugger GUI
    328     PDBGGUI dbg_gui;
     328#ifdef VBOX_WITH_DEBUGGER_GUI
     329    /** The handle to the debugger gui. */
     330    PDBGGUI mDbgGui;
     331    /** The virtual method table for the debugger GUI. */
     332    PCDBGGUIVT mDbgGuiVT;
    329333#endif
    330334
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobal.h

    r12331 r12424  
    237237    const char *vmRenderModeStr() const { return vm_render_mode_str; }
    238238
    239 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
    240     bool isDebuggerEnabled() const { return dbg_enabled; }
    241     bool isDebuggerVisibleAtStartup() const { return dbg_visible_at_startup; }
     239#ifdef VBOX_WITH_DEBUGGER_GUI
     240    bool isDebuggerEnabled() const { return mDbgEnabled; }
     241    bool isDebuggerAutoShowEnabled() const { return mDbgAutoShow; }
     242    RTLDRMOD getDebuggerModule() const { return mhVBoxDbg; }
    242243#endif
    243244
     
    716717    const char * vm_render_mode_str;
    717718
    718 #if defined(VBOX_WITH_DEBUGGER_GUI) && 0
    719     bool dbg_enabled;
    720     bool dbg_visible_at_startup;
     719#ifdef VBOX_WITH_DEBUGGER_GUI
     720    /** Whether the debugger should be accessible or not.
     721     * Use --dbg, the env.var. VBOX_GUI_DBG_ENABLED, --debug or the env.var.
     722     * VBOX_GUI_DBG_AUTO_SHOW to enable. */
     723    bool mDbgEnabled;
     724    /** Whether to show the debugger automatically with the console.
     725     * Use --debug or the env.var. VBOX_GUI_DBG_AUTO_SHOW to enable. */
     726    bool mDbgAutoShow;
     727    /** VBoxDbg module handle. */
     728    RTLDRMOD mhVBoxDbg;
    721729#endif
    722730
Note: See TracChangeset for help on using the changeset viewer.

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