19#ifndef DEBUGVIEWER_HPP
20#define DEBUGVIEWER_HPP
23#include "../terminal/terminal.hpp"
24#include "../../common/Options.h"
27#include <wx/listctrl.h>
48 void setExpression(
const std::string& sLineNumber,
const std::string& sExpression);
57 DebugViewer(wxWindow* parent,
Options* _options,
const wxString& title =
"NumeRe: Debugger");
61 void setDebugInfo(
const wxString& title,
const std::vector<std::string>& vStack);
62 void OnClose(wxCloseEvent& event);
void getInformationByStackId(size_t id)
This private member function gets the debugger information from the selected stack ID.
void OnMenuEvent(wxCommandEvent &event)
This member function is the event handler routine for the toolbar functions.
void EnableDebugger(bool enable)
This member function may enable or disable the debugger toolbar.
void OnClose(wxCloseEvent &event)
This member function is called upon closing the debugger window: it won't be destroyed but hidden and...
wxTextCtrl * m_lineNumber
wxTextCtrl * m_errorMessage
VariableViewer * m_varViewer
void setExpression(const std::string &sLineNumber, const std::string &sExpression)
This private member function updates the expression element in the debugger window and changes the co...
NumeReTerminal * m_terminal
void OnStackItemActivate(wxListEvent &event)
This member function is the event handler function for double-clicking on a stack item.
void OnExecutionFinished()
This member function will inform the debugger window that the execution of the current code has ben f...
DebugViewer(wxWindow *parent, Options *_options, const wxString &title="NumeRe: Debugger")
Constructor. Creates the necessary controls of the debugger window.
void setDebugInfo(const wxString &title, const std::vector< std::string > &vStack)
This member function is used from the main window to update the debugger window with the information ...
wxTextCtrl * m_expression
void updateSettings()
This member function should be called after the user modified the application settings....
void setTerminal(NumeReTerminal *term)
bool b_transferredControl
wxListCtrl * m_stacktrace
void initializeToolbar()
This private member function creates the toolbar of the debugger window.
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
This class implements an interface of the internal Settings object adapted to be usable from the GUI.
This class generalizes a set of basic floating window functionalities like being closable by pressing...