Error VSP1019 in executing vsinstr /coverage RRS feed

  • Question

  • Hello everybody,

    I try to execute vsinstr /coverage /exclude:std::* /exclude:stdext::* MyExe.exe but I allways get an error Error VSP1019 : internal error. HRESULT=80070020.

    Any ideas about this error?

    Thank you very much.


    • Edited by stefansta Wednesday, June 28, 2017 6:14 AM
    Wednesday, June 28, 2017 5:40 AM


  • Hi Stefan,

    Welcome to MSDN forum.

    “internal error” often means “cannot get the module file name for this executable”, you could add the full path of the exclude method, please try as follow example:

    Here is a WPF application code:

    namespace WPF
        public partial class MainWindow : Window
            public MainWindow()
            private void button_Click(object sender, RoutedEventArgs e)
                MessageBox.Show("Hello World");


    The full path matching is: WPF.MainWindow.button_Click

    All the click matching is: WPF.MainWindow.*_Click

    Use vsinstr:

    C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools>vsinstr.exe -coverage "C:\[user]\Project\WPF\WPF\bin\Debug\WPF.exe" /exclude:WPF.MainWindow::*_Click


    Hope it could help you out.



    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Edited by Fletch Zhou Thursday, June 29, 2017 5:13 AM
    • Proposed as answer by Fletch Zhou Monday, July 3, 2017 7:53 AM
    • Unproposed as answer by Fletch Zhou Wednesday, July 5, 2017 2:19 PM
    • Proposed as answer by Fletch Zhou Wednesday, July 5, 2017 2:19 PM
    • Marked as answer by stefansta Wednesday, January 30, 2019 9:53 AM
    Thursday, June 29, 2017 5:13 AM