Options

Console mode issue with data parameter

AalekseyAaleksey Posts: 3
edited October 5, 2015 7:54AM in ANTS Performance Profiler 9
Hi!

I'm using trial version ANTS performance profiler in console mode this way:

"C:Program FilesRed GateANTS Performance Profiler 9Profile.exe" /attach:2284 /timeout:5 /sampling /xml:c: empProfilerResults.xml /data:c: empProfilerResults.app9results /force

after execution an error has occurred:

Exception
=========

RedGate.Profiler.CommandLine.Exceptions.UnknownTargetTypeException:
Unknown target type in project.
at ⌂☼♣.▼☼♣.§â–ºâ™£(←☼♣ , ISessionStarter`1 )
at ⌂☼♣.▼☼♣.¶â–ºâ™£(String , ?☼♣ , ISessionStarter`1 , IProfile , ↨☼♣ )
at ↓☼♣.¶?☻.►‼(Licence )
at ↓☼♣.¶?☻.??♥(String[] )

xml created ok, output file is absent.

How can i fix that?

Comments

  • Options
    Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi!

    I've tested this and the data option does unfortunately appear to be broken when attaching via command line. Since "attach" is an unofficial/unsupported command line option though, I'm afraid this may not be fixed immediately, but I will let you know if there are any updates! (the issue is logged as PP-3355)

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


  • Options
    Thank you!
  • Options
    This will be fixed in ANTS Performance Profiler 9.3, to be released later this week.
    Test Engineer, .NET Division
    Red Gate Software
Sign In or Register to comment.