2009/09/24

Spirit memo - Debug support

Spirit supports to debug as following:

  1. Define BOOST_SPIRIT_DEBUG macro before including Spirit's headers.
  2. Use BOOST_SPIRIT_DEBUG_NODE() macro after rule definition in grammar constructor.

Then, Spirit dumps matching rule to console during parsing.

No comments:

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...