01-12-2024 06:06 PM
I have a project with very obnoxious, deep-rooted crash issues that seem to only appear in the Runtime Engine, not the dev environment. There are a few odd glitches that I get here and there that make me suspect I have a corrupt or insane object SOMEWHERE in the project... but running Heap Peek one at a time would take me eons (there are about 1700 files in this program, mostly VI's but lots of classes too).
Can I automate Heap Peek in some way to scan the whole thing for me so I can start trying to find potentially corrupt items?
01-13-2024 04:31 AM - edited 01-13-2024 04:35 AM
I pretty much doubt it. Heap Peek is a (non-official) tool from the beginnings of LabVIEW (version 2.x, possibly even 1,x) while the VI Server is from around 5.x, projects from 8.0 and classes and libraries from 8.2 and later, Heap Peek not being an officially acknowledged tool by NI in all this time made it also not receive any extra effort to make it work with all these new techs.
Heap Peek is s tool from the LabVIEW attic. NI put a door with a simple lock in front of the stairs to that attic but didn’t spent much effort to make that lock extra difficult to pick.But the fact that door is locked should be enough to tell everybody that proceeding past that door is on their own risk, There can and will be rusty nails that you can hurt yourself on and old tools that are from a time where the house had no central heating, limited running water, lighting by candles instead of electricity and of course no fridge or dish washer. 😀
01-13-2024 09:58 AM
@rolfk wrote:
Heap Peek is s tool from the LabVIEW attic. NI put a door with a simple lock in front of the stairs to that attic but didn’t spent much effort to make that lock extra difficult to pick.But the fact that door is locked should be enough to tell everybody that proceeding past that door is on their own risk, There can and will be rusty nails that you can hurt yourself on and old tools that are from a time where the house had no central heating, limited running water, lighting by candles instead of electricity and of course no fridge or dish washer. 😀
I'm just creating a mental image of this as if this were a horror movie. Ha ha, that's a good analogy.
01-13-2024 12:42 PM
@rolfk wrote:
Heap Peek is s tool from the LabVIEW attic. NI put a door with a simple lock in front of the stairs to that attic but didn’t spent much effort to make that lock extra difficult to pick.But the fact that door is locked should be enough to tell everybody that proceeding past that door is on their own risk, There can and will be rusty nails that you can hurt yourself on and old tools that are from a time where the house had no central heating, limited running water, lighting by candles instead of electricity and of course no fridge or dish washer. 😀
Bummer... but I'd welcome that rather than wading through a million entries per VI, iterated over 1700 VI's!
It's confusing to me how, apparently, LabVIEW can "know" something is corrupted or "insane" or whatever, but can't tell me about it without going through the Temple of Doom. I just have to guess and check and manually review a bunch of lists to find something in red text. Ah well, thanks for the answer anyway!
01-13-2024 01:20 PM
I thought I remember when I mass compiled projects previously, the output listed a few insane objects. Maybe that will help.