SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Features and/or Improvements => Topic started by: MikeDavies on August 11, 2010, 09:01:30 AM

Title: #define tracing, ability to show what a macro would expand to
Post by: MikeDavies on August 11, 2010, 09:01:30 AM
#define tracing:  it should be possible to select a #define'd symbol and cause it to be expanded completely to it final value as the compiler would.  This should take into account compile time constants defined in make etc.

Mike
Title: Re: #define tracing, ability to show what a macro would expand to
Post by: volovyan on September 19, 2014, 09:23:39 PM
C/C++ macro expansion support with ability to show expansion steps. Especially useful if ## are used in the macro.
If I am not mistaken, currently only Eclipse supports this.
Title: Re: #define tracing, ability to show what a macro would expand to
Post by: jwiede on December 08, 2014, 10:22:48 PM
C/C++ macro expansion support with ability to show expansion steps. Especially useful if ## are used in the macro.
If I am not mistaken, currently only Eclipse supports this.

+1 to this suggestion -- it would be nice if SE could serve as a "C/C++ macro previewer/debugger" showing the expansion steps, indicating the step where expansion fails (when it does), etc.
Title: Re: #define tracing, ability to show what a macro would expand to
Post by: jwiede on August 21, 2017, 02:31:42 AM
#define tracing:  it should be possible to select a #define'd symbol and cause it to be expanded completely to it final value as the compiler would.  This should take into account compile time constants defined in make etc.

Mike

Another excellent request, any hope we'll see something like the above in V22?