Home > Back-end >  Why is 39 lines of code are stuck without execution?
Why is 39 lines of code are stuck without execution?

Time:09-23

First look at the source images:


Then this is rendering:

I found that the arrow pointing in the direction of 34 lines of code, the code behind it are not executed line (line 39, 40, 42], or in the rendering, and then [AAAAA] [BBBBB] should be printed out the following line, but the fact is not printed, so I want to ask next, why after the code is not running?

CodePudding user response:

You put this code in separate JAVA programs to try whether is carried out

CodePudding user response:

An unusual!
In the place where the catch a print abnormal
e.printStackTrace();

CodePudding user response:

refer to the original poster WenPing old demon reply:
first look at the source code image:


Then this is rendering:

I found that the arrow pointing in the direction of 34 lines of code, the code behind it are not executed line (line 39, 40, 42], or in the rendering, and then [AAAAA] [BBBBB] should be printed out the following line, but the fact is not printed, so I want to ask next, why after the code is not running?


I can't see you call driver files, look at the abnormal,

CodePudding user response:

The catch in abnormal typed know soon?

Blind guess, not a database didn't open, is the wrong password

CodePudding user response:

reference 4 floor xxoo2007 response:
catch in abnormal typed know soon?

A blind guess, not database didn't open, is the wrong password

Everything is normal, just don't perform at the back of the statement, this is my concise code, just after 34 lines of code, is carried out, also do not throw exceptions, normal web pages

CodePudding user response:

refer to the second floor qybao response:
an unusual!
In the place where the catch a print abnormal
e.printStackTrace();

Without exception, the web is normal,
  • Related