Is is possible to give the automatically created snapshots on VM shutdown a more descriptive name? Especially when launched from within an IDEA there's the name of the run configuration that I'd like to use as the filenames for the snapshots. That would make it a lot easier to distinguish them: It's quite hard to guess what is what when everything is named shutdown.cpu, shutdown(1).cpu, etc.
Sascha
Better names for automatic snapshots
-
- Posts: 46
- Joined: Mon Jan 24, 2005 3:01 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Done in upcoming build 608. It will be available today, please visit http://www.yourkit.com/eap
-
- Posts: 46
- Joined: Mon Jan 24, 2005 3:01 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Hi Sascha
Thank you for the suggestion to alter session name.
Could you please try the latest build 614. It does not ask user to enter a prefix, forming the snapshot name basing on session name, date and running number if there are several snapshots. It's interesting to hear your feedback. If the used approach works OK without additional UI to alter anything e.g. session name, it'd be better to keep it so because IMHO simplier is better in this situation.
Best regards,
Anton
Thank you for the suggestion to alter session name.
Could you please try the latest build 614. It does not ask user to enter a prefix, forming the snapshot name basing on session name, date and running number if there are several snapshots. It's interesting to hear your feedback. If the used approach works OK without additional UI to alter anything e.g. session name, it'd be better to keep it so because IMHO simplier is better in this situation.
Best regards,
Anton
-
- Posts: 46
- Joined: Mon Jan 24, 2005 3:01 pm
Hi Anton
Yes that change currently works for me, but I can imagine that at some point you might miss the ability to include additional information in the snapshot name, such as a short description of the current state of the application you're profiling. Especially during development when you're making changes and in the end you want to see which one was the best.
Something else: I don't really like that snapshots go to my home directory by default and would prefer if all snapshots went to the current working directory. I'd like to configure that in the default settings for run configs, but that would probably need some kind of macro ($CWD$ or whatever) which would be replaced by the actual directory for each run config. Do you think that's possible?
Cheers,
Sascha
Yes that change currently works for me, but I can imagine that at some point you might miss the ability to include additional information in the snapshot name, such as a short description of the current state of the application you're profiling. Especially during development when you're making changes and in the end you want to see which one was the best.
Something else: I don't really like that snapshots go to my home directory by default and would prefer if all snapshots went to the current working directory. I'd like to configure that in the default settings for run configs, but that would probably need some kind of macro ($CWD$ or whatever) which would be replaced by the actual directory for each run config. Do you think that's possible?
Cheers,
Sascha