Phyronnaz / UECompileTimesVisualizer

Debug compile times in Unreal Engine & MSVC projects
MIT License
142 stars 14 forks source link

MSVC, assert, one more case #2

Closed Feacur closed 5 years ago

Feacur commented 5 years ago

Hi, thank you for the tool. Just checked out it on the following project. (As a matter of fact, compiler and linker options are currently commented in "premake.lua")

repository, in case one wonders and one of the logs demo_game.log

Excerpt from the "main.py" output:

Traceback (most recent call last):
  File "main.py", line 276, in <module>
    assert False, "Invalid file name: " + line
AssertionError: Invalid file name:

However I figured to replace "assert False ..." line with mere "continue" and successfuly got all respective "*.csv" files. So, no sweat =)

Phyronnaz commented 5 years ago

You have additional sections (Project/Target/Task Performance Summary:) which is probably why the parser is crashing. As this seemed to be caused by a custom config, I don't think the script should try to support those.

However I figured to replace "assert False ..." line with mere "continue" and successfuly got all respective "*.csv" files.

If you managed to make it work, I'd say the issue is fixed ;)