Native Inspect Manual (H06.13+, J06.03+)
value
A value you want to assign to var-name.
Consideration
Although the keyword variable is optional, you must include it if the name of the variable you
are setting conflicts with the name of an option supported by the set Command (environment).
For example, a variable name p conflicts with the print option of the set command, and entering
a set command without the variable keyword results in an error:
(eInspect 1,187): set p=6
Undefined set print command: "=6". Try "help set print".
In this case, you must use one of the following alternatives:
• Modify the value of the variable by using the assignment operator with the print command:
print p=6
• Include the variable option in your set command:
set variable p=6
set heap-check Command (memory leak detection)
Displays settings for the commands that debug memory problems.
set heap-check attribute value
Where:
attribute value
Where attribute value is one of the following:
[on | off]
Toggles the capability for detection of leaks, heap profiles, bounds checking, and checking
for double free.
block-size num-bytes
Instructs Native Inspect to stop the program whenever it tries to allocate a block larger than
num-bytes in size.
frame-count num
Controls the depth of the call stack collected. Larger values increase run time. The default
value is four (4) stack frames.
free [on | off]
When set to on, forces Native Inspect to stop the program when it detects a call to free()
with an improper argument, a call to realloc() that does not point to a valid currently
allocated heap block, or a call to free a block of memory that has been corrupted.
heap-size num-size
Instructs Native Inspect to stop the program whenever it tries to increase the program heap
by at least num-bytes.
leaks [on | off]
Controls Native Inspect memory leak checking.
min-heap-size num
This option reports the heap allocations that exceed the specified number (num) of bytes
based on the cumulative number of bytes that are allocated at each call-site, which is
inclusive of multiple calls to malloc at a particular call site.
set heap-check Command (memory leak detection) 115










