code-debug: Retrieving "argv" from main causing plugin freeze
ArchLinux GNU gdb (GDB) 7.11.1 VS Code Version 1.4.0
The problem is that cannot be seen the string inside of “argv”. Debugger loading and loading, but when i want to continue and see other variable, looks like plugin stopped working.
On Screenshots are more infos.
On this screenshot you see that i put one parameter. This “loading” animation never ends.

On this screenshot you see that “app” variable shows as “nullptr” and that’s not true, because “gtk_application_new” allocated the variable.

That’s logs when i stopped debugging (SHIFT+F5)
SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.
Cannot read property 'body' of null: TypeError: Cannot read property 'body' of null
at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:83:4903
at Object.g [as _notify] (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:7573)
at Object.W.enter (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:11151)
at i.Class.define._run (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12979)
at i.Class.define._completed (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12420)
at i.Class.define.then (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:14412)
at Object.P.enter (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:10230)
at i.Class.define._run (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12979)
at i.Class.define._setCompleteValue (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12673)
at Object.m [as _notify] (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:8135)
Cannot read property 'scopes' of null: TypeError: Cannot read property 'scopes' of null
at e.getScopes (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:83:6324)
at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:98:24102
at Object.g [as _notify] (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:7573)
at Object.W.enter (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:11151)
at i.Class.define._run (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12979)
at i.Class.define._completed (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:12420)
at i.Class.define.then (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:32:14412)
at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:38:13772
at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:37:1364
at o (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:37:76)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 25 (13 by maintainers)
thats why I will only do that when gdb tells me
arg: 1Otherwise it will do the same but stop on the first null and not on the second
Config:
"arguments": "firstParameter secondParameter thirdParameter",Output:
Ah ok thats helping and should be easy to implement. I will do that tomorrow, cleaning up my other projects right now