Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331420

Summary: Unable to profile app with long command line arguments
Product: z_Archived Reporter: tim abell <tim>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED INVALID QA Contact: Kathy Chan <kathy>
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description tim abell CLA 2010-11-30 07:40:22 EST
Build Identifier: 

I'm trying to profile sqlHawk, and it runs fine in run & debug mode, but fails when run in profile mode with an argument error. It looks like the profiler is mangling the command line arguments.
http://timwise.wikispaces.com/sqlHawk

Running with the following arguments (which arent' enough for the program, but enough to demonstrate the issue):
  --scm-input --database-output --db-type mssql05-jtds

Under "run" outputs the expected output:
  Error: Parameter 'target-path' is required.

Under profile, the output is:
  Error: Unknown flag 'datab--db-type'.
  Error: Unexpected argument: mssql05-jtds
  Error: Parameter 'target-path' is required.

Very irritating.


Reproducible: Always
Comment 1 Kathy Chan CLA 2010-12-01 15:23:42 EST
Jonathan,

Please take a look at this problem reported.
Comment 2 Jonathan West CLA 2010-12-01 16:51:04 EST
Hi Tim, would you be able to provide screenshots of the tabs from the Profile Configurations dialog for your launch?

(If you were profiling with the 'Java Application' launch type, the useful tabs would be 'Main', 'Arguments', 'Classpath', 'Profile Settings' for our purposes on this bug)

Thanks!
Comment 3 Kathy Chan CLA 2011-03-23 16:43:54 EDT
No response from originator for a few months after we ask for more info.  Resolving as invalid.
Comment 4 Jonathan West CLA 2011-04-01 14:26:19 EDT
Closing.