Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Hi - my 1st post :-) - about command line parameters: (4 Items)
   
Hi - my 1st post :-) - about command line parameters  
when I luanch QNX Momentics - I'd like to 
AUTOMATICALLY debug specific project-executable...

can it be done through a command line ?
e.g. - like
qde -vmargs -proj:test -debug:EXE -exit
RE: Hi - my 1st post :-) - about command line parameters  
No magic like that... You can write a plugin that would do something like
that upon startup. But does it worth it? To launch debug it is only one
button - Debug in the toolbar - it would launch you last session...
If you don't need an IDE you can just debugger from command line...

-----Original Message-----

when I luanch QNX Momentics - I'd like to 
AUTOMATICALLY debug specific project-executable...

can it be done through a command line ?
e.g. - like
qde -vmargs -proj:test -debug:EXE -exit
Re: RE: Hi - my 1st post :-) - about command line parameters  
Thanks for your reply,

I am trying to build AUTOMATED tests uppon the Momentics...
there are several tests i would like to run AUTOMATICALLY
and i'm trying to figure out a way to do that.

I'll be very gratefull to hear about automating the Momentics.

Thanks,
Eyal G Mizrachi.
Re: RE: Hi - my 1st post :-) - about command line parameters  
You are trying to write tests to test momentics? 
We use junit integrated with eclipse test framework to do it.
Tests are usually launched from ant, there is a special mode in which you can run eclipse that runs the tests. You can 
start with this article (Part 2 only) http://www.eclipse.org/articles/Article-PDE-Automation/automation.html

In a test itself you need to use API to create a project, run a debugger, etc.
You can see examples in eclipse CDT project (they should have tests for this stuff).