Post Debugger
Overview
Debugging a post processor requires several components.
- A debug enabled post
- A debug tool
- A GibbsCAM session with a part that can run the post
With these components, the debug tool allows the post developer to inspect how the GibbsCAM part uses the post processor as it runs.
Legacy Post Debugger
The legacy post debugger was an experimental tool that was used with some versions of Compost3 to assist developers in debugging post processors. It was de-supported with GibbsCAM V11 and Compost4.
Compost4 Integrated Debugger
Compost4 v 4.3 and later includes an integrated debugger.
File Format
Compost was designed from inception to contain integrated debug services and the POST format has always included debug information. The debugger built into Compost4 works using these features of the POST format, so it can only debug posting sessions that use a POST file. Compost4 always upgrades a PST file into a POST when opened. When using the debugger post developers must use the POST version of the file inside GibbsCAM when debugging.
Features
Debugger Features include
- Breakpoints
- interactive code stepping
- Output inspection (Output Window)
- Variable/Flag inspection (Variables)
- Program State inspection (Watches and Callstack)