mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibDebug: Stop parsing unhandled variable types
Previously, when trying to debug variables with more complex types (such as String), we would crash the debugger simply because it didn't know how to handle types that were irrelevant anyways. Now we just skip data we don't yet know how to handle.
This commit is contained in:
parent
cffc0a4f45
commit
bffa1a0df8
2 changed files with 13 additions and 7 deletions
|
@ -141,6 +141,7 @@ private:
|
|||
void prepare_lines();
|
||||
void parse_scopes_impl(const Dwarf::DIE& die);
|
||||
OwnPtr<VariableInfo> create_variable_info(const Dwarf::DIE& variable_die, const PtraceRegisters&, u32 address_offset = 0) const;
|
||||
static bool is_variable_tag_supported(const Dwarf::EntryTag& tag);
|
||||
|
||||
NonnullOwnPtr<const ELF::Image> m_elf;
|
||||
String m_source_root;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue