16 #define GETTEXT_DOMAIN "wesnoth-lib"
38 = find_widget<scroll_label>(
"stack",
false,
true);
40 std::stringstream stack_text;
43 for(
const auto &
i : fdb_.get_call_stack())
45 for(
int d = 0;
d <
c; ++
d) {
57 keyboard_capture(stack_label);
60 scroll_label* execution_label = find_widget<scroll_label>(
"execution",
false,
true);
62 std::stringstream execution_text;
63 for(
const auto &
i : fdb_.get_execution_trace())
65 for(
int d = 0;
d <
i.level(); ++
d) {
82 execution_label->
set_label(execution_text.str());
85 std::string state_str;
87 if(!fdb_.get_current_breakpoint()) {
90 state_str = fdb_.get_current_breakpoint()->name();
91 if(state_str ==
"End") {
96 find_widget<styled_widget>(
"state").set_label(state_str);
99 button& step_button = find_widget<button>(
"step");
104 button& stepout_button = find_widget<button>(
"stepout");
109 button& next_button = find_widget<button>(
"next");
114 button& continue_button = find_widget<button>(
"continue");
void set_retval(const int retval, const bool close_window=true)
Sets there return value of the window.
std::string escape_text(const std::string &text)
Escapes the pango markup characters in a text.
REGISTER_DIALOG(editor_edit_unit)
void connect_signal_mouse_left_click(dispatcher &dispatcher, const signal &signal)
Connects a signal handler for a left mouse button click.
@ OK
Dialog was closed with the OK button.
std::string span_color(const color_t &color, Args &&... data)