Maxium array entries fetch in VSCODE extension

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maxium array entries fetch in VSCODE extension

Jump to solution
482 Views
jslota13245
Contributor III

Hello Everyone

I would like to ask about a feature from IDE which i don't know how to enable in VS-code.

The problem I have, is when there is a large array, if I hover over it with cursor, then the debugger will try to fetch every element of this array. Unsurprisingly it freezes VS-Code as debugger is reading all of that data, usually a restart of VS-Code is required.

IDE handles it nicely by showing you only 1000 entries, and provides a way to extend that view if needed.

Is there a way to enable this feature in the NXP for VS-Code extension?

Best Regards,
Jakub

0 Kudos
Reply
1 Solution
430 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jslota13245,

Currently, we do not provide a way to enable a similar behavior on MCUXpresso for VSCode. But this is mainly because it's a limitation on VSCode, rather than on the MCUXpresso extension: Debugger Freezes When Inspecting Large Array · Issue #13897 · microsoft/vscode-cpptools

If this is a limiting issue for your application development, I recommend going into the VSCode settings and disabling hover evaluation altogether, and instead rely on watch expressions or the Memory Inspector to view the data.

BR,
Edwin.

View solution in original post

0 Kudos
Reply
2 Replies
431 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jslota13245,

Currently, we do not provide a way to enable a similar behavior on MCUXpresso for VSCode. But this is mainly because it's a limitation on VSCode, rather than on the MCUXpresso extension: Debugger Freezes When Inspecting Large Array · Issue #13897 · microsoft/vscode-cpptools

If this is a limiting issue for your application development, I recommend going into the VSCode settings and disabling hover evaluation altogether, and instead rely on watch expressions or the Memory Inspector to view the data.

BR,
Edwin.

0 Kudos
Reply
414 Views
jslota13245
Contributor III

Thank you for the response!

0 Kudos
Reply