can't stop

I have a very basic "Hello world" program, but I can't seem to be able to
stop in a breakpoint. That's my code:

-


8<----


public class IdeaTest {
public static void main(String[] args) {
System.out.println("Hello there");
}
}

-


8<----



I've set a breakpoint on line 3 (where else...?), run a debug session with
this as the main class, but the execution continues to the end, as if
there's no breakpoint. Why?


2 comments
Comment actions Permalink

Didn't know I had to explicitly check "Suspend VM Execution"...
Why isn't it set by default?

"Zohar" <david_fire4@hotmail.com> wrote in message
news:bbc4rd$nl0$1@is.intellij.net...

I have a very basic "Hello world" program, but I can't seem to be able to
stop in a breakpoint. That's my code:

>

--------------8<---------------
public class IdeaTest {
public static void main(String[] args) {
System.out.println("Hello there");
}
}

>

--------------8<---------------

>

I've set a breakpoint on line 3 (where else...?), run a debug session with
this as the main class, but the execution continues to the end, as if
there's no breakpoint. Why?

>
>


0
Comment actions Permalink

Why isn't it set by default?


Just a bug... Fixed already though.


--

Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"



0

Please sign in to leave a comment.