[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-dd-dev] Basic launching question
|
Hi,
you need to use "JUnit Plug-in Test".
Best regards,
Uwe Stieber, Member of Technical Staff - Sys, Wind River
direct +43 662 457915 0 fax +43 662 457915 6
> -----Original Message-----
> From: dsdp-dd-dev-bounces@xxxxxxxxxxx
> [mailto:dsdp-dd-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc
> Khouzam (QA/EMC)
> Sent: Wednesday, July 04, 2007 3:51 PM
> To: dsdp-dd-dev@xxxxxxxxxxx
> Subject: [dsdp-dd-dev] Basic launching question
>
> Hi,
>
> I am trying to trigger the GDB/MI launch programmatically
> from a JUnit plugin. I have looked at some articles and
> the example code of JUnit tests and I'm trying to do the same
> basic call, but I'm getting a null pointer exception.
> Basically, I try to get the LaunchManager by calling:
>
> ILaunchManager launchMgr =
> DebugPlugin.getDefault().getLaunchManager();
>
> But the DebugPlugin.getDefault() is null.
> I'm guessing I have to launch my own JUnit tests in a certain
> way to trigger the DebugPlugin to be instantiated?
> I'm launching my tests by doing DebugAs->JUnit Test
>
> Any ideas?
>
> Thanks
>