Skip to content

Automatically triggered build is almost always followed by a reload #215

Open
@LagoLunatic

Description

@LagoLunatic

When the source file for the current TU is modified, objdiff triggers an automatic recompilation (queue_build). Because this compilation modifies the object file, objdiff sees this and also triggers a redundant reload without a compilation (queue_reload) to happen right after the build is finished.

This doesn't happen when manually building by clicking "Build", only for automatic builds.

The issue is most noticeable for very large TUs (such as d_a_player_main in TWW) as they take the longest to build. It also happens for smaller TUs (such as d_a_player in TWW) though it's harder to notice. It doesn't seem to happen at all for very small TUs (such as J3DUMotion in TWW) that compile instantly, even if you use a breakpoint to catch it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions