Migrated from robin_hood to unordered_dense (for UnorderedMap and UnorederedSet).

Added support for SmallVector using svector (and we are already using it in a couple of places).
Added debug symbol inspector script for the new SmallVector in project/scripts/debug.
Added tilde support for files and folders passed as parameters from the CLI in ecode (and added FileSystem::expandTilde).
Fixed a bug in "light-dark" parsing.
This commit is contained in:
Martín Lucas Golini
2026-03-14 15:13:41 -03:00
parent aea26546b8
commit 4718a52423
19 changed files with 3668 additions and 2570 deletions

View File

@@ -174,7 +174,7 @@ struct SourceBreakpoint {
};
struct SourceBreakpointStateful : public SourceBreakpoint {
bool enabled{ true };
mutable bool enabled{ true };
SourceBreakpointStateful() = default;
SourceBreakpointStateful( const json& body ) : SourceBreakpoint( body ) {}

View File

@@ -1734,14 +1734,7 @@ bool DebuggerPlugin::breakpointSetEnabled( const std::string& doc, Uint32 lineNu
auto breakpointIt = breakpoints.find( sb );
if ( breakpointIt != breakpoints.end() ) {
if ( enabled != breakpointIt->enabled ) {
#ifdef EEPP_NO_THIRDPARTY_CONTAINERS
SourceBreakpointStateful existingBreakpoint = *breakpointIt;
breakpoints.erase( breakpointIt );
existingBreakpoint.enabled = enabled;
breakpoints.insert( existingBreakpoint );
#else
breakpointIt->enabled = enabled;
#endif
mBreakpointsModel->enable( doc, lineNumber, enabled );
mThreadPool->run( [this, doc] { sendFileBreakpoints( doc ); } );
getUISceneNode()->getRoot()->invalidateDraw();