How can we help you today? How can we help you today?

Correspondence profiling exe and sources

1. I have opened visual studio, created sample.
2. changed source code, i.e. removed call of one method , save file but didn't rebuild solution.
3. run profiling

I see results of profiled assembly but ANTS uses sources which are on the disk and which don't correspond to the exe.

Probably its possible to do minimal checking for the corresponding, for example, by creating date source and exe files?

Regards,
Oleg.
Oleg
0

Comments

4 comments

  • Robert C
    Hi Oleg,

    Thanks for the comments. It's something we're certainly planning to look at in the future, though not in the V3 timescale.

    I like the idea of checking timestamps, but it would definitely have to be a "warning" rather than a fatal error - just because I've changed one line of my source file doesn't mean that ANTS should refuse to display it :-).

    Thanks,
    Rob
    Robert C
    0
  • Oleg
    Hi Robert,
    yes, you are right, probably its possible in future to do some "smart" checking. I am sure you can find much methods.

    On one side ANTS should not to refuse to display, but on other side this "visual mistake" may be critical for person who is analyzing code ... ;-)

    Regards,
    Oleg.
    Oleg
    0
  • richardjm
    I think what visual studio does when you try to run debug with modified code is refuse to let you. I don't think this is ideal either although it proves that there is some ability there to notice modified files.

    I think some warning option would be by far the best compromise as Robert suggested.
    richardjm
    0
  • Oleg
    richardjm wrote:
    I think what visual studio does when you try to run debug with modified code is refuse to let you. I don't think this is ideal either although it proves that there is some ability there to notice modified files.

    I think some warning option would be by far the best compromise as Robert suggested.

    yes, I agree.
    Oleg
    0

Add comment

Please sign in to leave a comment.