spmeesseman/vscode-taskexplorer

Maximum call stack size exceeded

PDKSophia opened this issue · 10 comments

The first time I used it, I made a mistake Maximum call stack size exceeded

I tried to reopen vscode, but got the same error

turn on logging in the extension settings, turn the logging level to "5" in Settings, and reproduce. Then attach the contents of the log found in the VSCode Output Window (Task Explorer)

also, you do have the latest 2.0.4 installed?

Hey, same problem here. Hope this helps. It does not happen in all my projects, just in a couple of them
image
Thanks!

[I have v2.07] Needed to re-install, v 1.28, then the problem disappears. Thanks! This is a great extension!

Got the same error with version 2.0.0 and 2.0.7 - downgrading to 1.30.2 works.

Thanks for the great extension, too!

I got the same problem with version 2.0.7. Got the error when going on the sidebar. Staying on the waiting status forever.
image

I tried to look at the log. I joined some logs.txt

Seems like the discovery of the tasks are good and then there is a loop on *start* remove scripts, which seems to overflow.

And we got

2021-03-11 10:28:26.607 *start* get tree children
2021-03-11 10:28:26.607    task folder                          : undefined
2021-03-11 10:28:26.607    all tasks need to be retrieved       : false
2021-03-11 10:28:26.607    specific tasks need to be retrieved  : false
2021-03-11 10:28:26.607       current invalidation              : undefined
2021-03-11 10:28:26.607    task tree needs to be built          : true
2021-03-11 10:28:26.607    waiting...

And the waiting... state stays forever.

Here is my settings for information:

  // Task explorer
  "taskExplorer.enableSideBar": true,
  "taskExplorer.enableAnsiconForAnt": false,
  "taskExplorer.enableAppPublisher": false,
  "taskExplorer.enableGrunt": false,
  "taskExplorer.enableNpm": false,
  "taskExplorer.enableNsis": false,
  "taskExplorer.enablePerl": false,
  "taskExplorer.enableTsc": false,

Got VS code 1.54.1 and working with Remote WSL 0.54.2 on a project. May be this is linked that I am using the extension with WSL ?

I had to go back to version 1.29.0 too see my tasks. This problem seems to be here since quite some time.

image

Here is my tasks with version 1.29.0:

image

Hope it can helps to fix this problem. Tell me if you need more information.

thanks for all the info. ill try to look into this this weekend

fyi: In my case it helped to disable "Group with Separator" in the Task Explorer extension settings

Group whit separator was the problem, I disable it an it work again