wex v24.04.0
Public Types | Public Member Functions | List of all members
wex::debug_entry Class Reference

This class collects a single debugger. More...

#include <wex/ui/debug-entry.h>

Inheritance diagram for wex::debug_entry:
Inheritance graph
[legend]

Public Types

enum class  regex_t {
}
 The type of regex to match debugger stdout. More...
 

Public Member Functions

 debug_entry (const pugi::xml_node &node=pugi::xml_node())
 Default constructor using xml node.
 
const std::string & break_del () const
 Returns the delete breakpoint command.
 
const std::string & break_set () const
 Returns the set breakpoint command.
 
const std::string & extensions () const
 Returns the extensions.
 
const std::string & flags () const
 Returns the flags.
 
std::string regex_stdout (regex_t r) const
 Returns the regex for interpreting debug stdout.
 
- Public Member Functions inherited from wex::menu_commands< menu_command >
 menu_commands (const std::string &name=std::string(), const std::vector< menu_command > &commands={})
 Default constructor.
 
 menu_commands (const pugi::xml_node &node)
 Constructor using xml node.
 
const menu_command find (const std::string &name) const
 Returns the menu command equal to name specified.
 
const auto & flags_key () const
 Returns the flags key.
 
const auto get_command () const
 Returns the current command.
 
const auto & get_commands () const
 Returns all the commands.
 
const auto & name () const
 Returns the name for this group of commands.
 
bool set_command (int command_no)
 Sets the current command.
 

Detailed Description

This class collects a single debugger.

Member Enumeration Documentation

◆ regex_t

enum class wex::debug_entry::regex_t
strong

The type of regex to match debugger stdout.

Enumerator
AT_PATH_LINE 

at a line number

BREAKPOINT_NO_FILE_LINE 

at a path and a line number

EXIT 

a breakpoint no, file and line number

PATH 

an 'exit program'

VARIABLE 

a path

VARIABLE_MULTI 

a variable e.g. to show in a tooltip