Skip to content

Symbol list uses 100% CPU #71

Closed
Closed
@pedro-ricardo

Description

@pedro-ricardo

The code below freezes the extension when the Symbol List (Ctrl+Shift+O) command is used. The extension keeps running in the background with 100% CPU even after VScode is closed.

module symbol_test
    
    implicit none
    
contains
    
    subroutine Much_dummy_arguments(headlev, rhs, rho, rhof, mu, u, u1, v, v1, w, w1, sx, sy, sz, &
        kindv, crlx, rlx_down, rlx_up, shift, t, dt, alfa, theta, tol_vel, ap_simple)
        implicit none
        
    end subroutine Much_dummy_arguments
    
end module symbol_test

The screenshot below illustrates what is happening:
symb_err
After pressing Ctrl+Shift+O it is not possible to type anything, the editor freezes.
If you kill the code process that is using 100% CPU it is possible to type in editor once again, but the symbol list shows No symbol information for the file and the following window pops up:
err

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions