dbg_section_delete

This function deletes a debug section that was previously added with dbg_section.

 

Syntax:

dbg_section_delete(section);

ArgumentTypeDescription
sectionDebug Section PointerA pointer to a debug section returned by dbg_section

 

Returns:

N/A

 

Example:

Create Event

config_section = dbg_section("Config");

Key Pressed Event - Space

dbg_section_delete(config_section);

The above code first creates a new debug section using dbg_section named "Config" in the Create event. Because no call to dbg_view was made before, the section is added to a debug view named "Default".

In the Space Key Pressed Event, the debug section is deleted using dbg_section_delete.