diff --git a/profiler/src/profiler/TracyLlmTools.cpp b/profiler/src/profiler/TracyLlmTools.cpp index b5f59aef..f643fd4d 100644 --- a/profiler/src/profiler/TracyLlmTools.cpp +++ b/profiler/src/profiler/TracyLlmTools.cpp @@ -113,30 +113,40 @@ TracyLlmTools::TracyLlmTools() { if( manualChunkPos != pos ) { - std::string text, section, title, parents; - text = std::string( manual.data() + manualChunkPos, pos - manualChunkPos ); - if( levels[0] != 0 ) - { - section = std::to_string( levels[0] ); - for( size_t i=1; i start ) + { + std::string text, section, title, parents; + text = std::string( manual.data() + start, end - start ); + if( levels[0] != 0 ) + { + section = std::to_string( levels[0] ); + for( size_t i=1; i