Profile C Family Block

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Profile C Family Block

Ni Va
Hi,

I want to profile C block code adding begin/end trace at start and end of block.

        public string Separator
        {
            set
            {
                Trace.Write(string.Format("{0}::{1}", this.GetType().Name, MethodBase.GetCurrentMethod().Name));
            mSeparator = value;
            }

I have done a macro you can see in the attached gif that transform into that code.

            set
            {
                Trace.Write(string.Format("{0}::{1} BEGIN", this.GetType().Name, MethodBase.GetCurrentMethod().Name));
            mSeparator = value;
                Trace.Write(string.Format("{0}::{1} END", this.GetType().Name, MethodBase.GetCurrentMethod().Name));
            }
           



How can I do to hide display of search result in order to make it faster ?

Thank you

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

MACRO_PROFILE_C_FAMILY_CODE.gif (60K) Download Attachment