Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » enable assertions by default?
enable assertions by default? [message #156851] Fri, 30 April 2004 19:22 Go to next message
Eclipse UserFriend
Hi all,
is there a way to enable assertions by default when "Run..."-ning
programs from within eclipse?

I know that I can add a "-enableassertions" in the VM arguments field
on the arguments tab of an application's Run config., but that's than
only valid for that particular applications (or actually only that
particular Run-setup). What I am looking for is to enable assertions
by default for ALL programs being run (or debugged) via eclipse.

Michael
Re: enable assertions by default? [message #156859 is a reply to message #156851] Fri, 30 April 2004 19:44 Go to previous message
Eclipse UserFriend
In the latest 3.0 builds:
Window>Preferences>Java>Installed JRES>Edit
You can set Default VM Arguments for each installed JRE

HTH
Darins

"Michael Moser" <mmo@zurich.ibm.com> wrote in message
news:c6umn0$6u8$1@eclipse.org...
> Hi all,
> is there a way to enable assertions by default when "Run..."-ning
> programs from within eclipse?
>
> I know that I can add a "-enableassertions" in the VM arguments field
> on the arguments tab of an application's Run config., but that's than
> only valid for that particular applications (or actually only that
> particular Run-setup). What I am looking for is to enable assertions
> by default for ALL programs being run (or debugged) via eclipse.
>
> Michael
>
>
Previous Topic:is there a way to use ordinary cursor and smart indent at the same time?
Next Topic:patch of .class files in 3.0 M8
Goto Forum:
  


Current Time: Thu May 08 17:25:32 EDT 2025

Powered by FUDForum. Page generated in 0.06788 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top