Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331420 - Unable to profile app with long command line arguments
Summary: Unable to profile app with long command line arguments
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Jonathan West CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 07:40 EST by tim abell CLA
Modified: 2016-05-05 10:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.