|
|
|
|
@ -912,12 +912,12 @@ void Window::set_menu_actions() {
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
for(auto &frame: backtrace) { |
|
|
|
|
std::string row; |
|
|
|
|
std::string row="<i>"+frame.module_filename+"</i>"; |
|
|
|
|
if(frame.file_path.empty()) |
|
|
|
|
row=frame.function_name; |
|
|
|
|
row+=" - "+frame.function_name; |
|
|
|
|
else { |
|
|
|
|
auto file_path=boost::filesystem::path(frame.file_path).filename().string(); |
|
|
|
|
row="<b>"+Glib::Markup::escape_text(file_path)+":"+std::to_string(frame.line_nr)+"</b> "+Glib::Markup::escape_text(frame.function_name); |
|
|
|
|
row+=":<b>"+Glib::Markup::escape_text(file_path)+":"+std::to_string(frame.line_nr)+"</b> - "+Glib::Markup::escape_text(frame.function_name); |
|
|
|
|
} |
|
|
|
|
(*rows)[row]=frame; |
|
|
|
|
view->selection_dialog->add_row(row); |
|
|
|
|
|