Click here to Skip to main content
15,905,504 members
Home / Discussions / Java
   

Java

 
AnswerRe: How can I integrate ChatGPT into my Spring Boot application? Pin
jschell29-Dec-23 5:19
jschell29-Dec-23 5:19 
Questiondebugger stop button behaving weirdly Pin
mike741120-Dec-23 19:08
mike741120-Dec-23 19:08 
AnswerRe: debugger stop button behaving weirdly Pin
Gerry Schmitz20-Dec-23 20:45
mveGerry Schmitz20-Dec-23 20:45 
GeneralRe: debugger stop button behaving weirdly Pin
jschell21-Dec-23 3:41
jschell21-Dec-23 3:41 
GeneralRe: debugger stop button behaving weirdly Pin
Gerry Schmitz21-Dec-23 7:41
mveGerry Schmitz21-Dec-23 7:41 
GeneralRe: debugger stop button behaving weirdly Pin
jschell22-Dec-23 6:00
jschell22-Dec-23 6:00 
AnswerRe: debugger stop button behaving weirdly Pin
Richard MacCutchan20-Dec-23 22:09
mveRichard MacCutchan20-Dec-23 22:09 
AnswerRe: debugger stop button behaving weirdly Pin
jschell21-Dec-23 3:48
jschell21-Dec-23 3:48 
It is of course not really worth figuring it out. And presuming you can replicate it.

But if you are just curious and have time...

Try adding a few more statements and see what happens. Statements before and/or after.

The only thing I can think of is that code optimization is in play. Generally I would not expect that but perhaps that is exactly the cause.

If it is an optimization then I would expect the following might fix it (in that Stop will work.)

String a = null;
int i = 3;
a.toUpperCase();
System.out.println("i=" + i);

AnswerRe: debugger stop button behaving weirdly Pin
Richard MacCutchan21-Dec-23 23:09
mveRichard MacCutchan21-Dec-23 23:09 
QuestionIntellij Pin
anderson mendes 202312-Dec-23 9:13
anderson mendes 202312-Dec-23 9:13 
AnswerRe: Intellij Pin
Richard MacCutchan12-Dec-23 22:04
mveRichard MacCutchan12-Dec-23 22:04 
QuestionJava strings Pin
mike74114-Dec-23 16:12
mike74114-Dec-23 16:12 
AnswerRe: Java strings Pin
Richard MacCutchan4-Dec-23 22:17
mveRichard MacCutchan4-Dec-23 22:17 
GeneralRe: Java strings Pin
Andre Oosthuizen5-Dec-23 8:47
mveAndre Oosthuizen5-Dec-23 8:47 
GeneralRe: Java strings Pin
Richard MacCutchan5-Dec-23 9:26
mveRichard MacCutchan5-Dec-23 9:26 
AnswerRe: Java strings Pin
jschell5-Dec-23 5:26
jschell5-Dec-23 5:26 
GeneralRe: Java strings Pin
trønderen5-Dec-23 11:29
trønderen5-Dec-23 11:29 
GeneralRe: Java strings Pin
jschell6-Dec-23 6:33
jschell6-Dec-23 6:33 
GeneralRe: Java strings Pin
trønderen6-Dec-23 9:53
trønderen6-Dec-23 9:53 
GeneralRe: Java strings Pin
jschell7-Dec-23 4:43
jschell7-Dec-23 4:43 
AnswerRe: Java strings Pin
Gerry Schmitz6-Dec-23 7:50
mveGerry Schmitz6-Dec-23 7:50 
Question<pre>Problems enlarging Eclipse icons Pin
BrunoV202219-Nov-23 10:57
BrunoV202219-Nov-23 10:57 
AnswerRe: <pre>Problems enlarging Eclipse icons Pin
jschell5-Dec-23 5:27
jschell5-Dec-23 5:27 
QuestionHow to convert string to double with trailing zeros after decimal Pin
Member 161354338-Nov-23 1:46
Member 161354338-Nov-23 1:46 
AnswerRe: How to convert string to double with trailing zeros after decimal Pin
Richard MacCutchan8-Nov-23 2:07
mveRichard MacCutchan8-Nov-23 2:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.