This function deletes a debug section that was previously added with dbg_section.
dbg_section_delete(section);
Argument | Type | Description |
---|---|---|
section | Debug Section Pointer | A pointer to a debug section returned by dbg_section |
N/A
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.