Intellij doesnt stop at breakpoints

Answered

Hi, 

My Intellij version is Build #IU-221.5787.30, built on May 31, 2022

I am running a local java Servlet application running on tomcat server. System.out.println works but it doesnt halt at the breakpoint. I have checked if I have muted the breakpoints, they are active. Please help.

 

0
7 comments

Hello,

Is it reproducible with some sample project? Are there any errors in idea.log ("Help | Show Log in...")? Could you please attach screenshots with your run configuration?

0

Tried with different projects, still it doesn't stop at breakpoints. This is the debug configuration. 

 

0

Have you checked logs?

0

I don't see any exceptions in the logs.

 

2022-12-27 09:12:18,603 [6483390]   INFO - #c.i.c.ComponentStoreImpl - Saving appIgnoredPluginSuggestions took 16 ms
2022-12-27 09:23:19,100 [7143887]   INFO - #c.i.c.ComponentStoreImpl - Saving appDebuggerSettings took 31 ms, FileTypeManager took 16 ms, GeneralSettings took 15 ms, IgnoredPluginSuggestions took 16 ms, SettingsSyncPlugins took 16 ms, Vcs.Log.App.Settings took 16 ms, XDebuggerSettings took 15 ms, editorConfigEncodings took 132 ms
2022-12-27 09:23:19,491 [7144278]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-services-portletBridge-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-services-portletBridge-master)RunManager took 16 ms
2022-12-27 09:23:19,506 [7144293]   INFO - STDOUT - []
2022-12-27 09:23:19,506 [7144293]   INFO - STDOUT - []
2022-12-27 09:23:19,506 [7144293]   INFO - STDOUT - []
2022-12-27 09:23:19,538 [7144325]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-ui-angular6-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\Workspace\NewWorkspace\janus-ui-angular6-master)PublishConfigData took 16 ms
2022-12-27 09:23:19,575 [7144362]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=PortletServletDemo, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\PortletServletDemo)CompilerConfiguration took 16 ms
2022-12-27 09:23:19,591 [7144378]   INFO - STDOUT - []
2022-12-27 09:23:19,591 [7144378]   INFO - STDOUT - []
2022-12-27 09:23:19,591 [7144378]   INFO - STDOUT - []
2022-12-27 09:23:34,753 [7159540]   INFO - STDOUT - []
2022-12-27 09:23:34,753 [7159540]   INFO - STDOUT - []
2022-12-27 09:23:34,753 [7159540]   INFO - STDOUT - []
2022-12-27 09:23:35,016 [7159803]   INFO - #c.i.c.ComponentStoreImpl - Saving appDebuggerSettings took 22 ms, FeatureSuggesterSettings took 16 ms, NodeJsLocalInterpreterManager took 16 ms, editorConfigEncodings took 125 ms
2022-12-27 09:23:35,047 [7159834]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-util-propertyAccess-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-util-propertyAccess-master)RunManager took 16 ms
2022-12-27 09:23:35,075 [7159862]   INFO - STDOUT - []
2022-12-27 09:23:35,075 [7159862]   INFO - STDOUT - []
2022-12-27 09:23:35,075 [7159862]   INFO - STDOUT - []
2022-12-27 09:24:02,940 [7187727]   INFO - #c.i.c.ComponentStoreImpl - Saving appFeatureSuggesterSettings took 15 ms, SqlEditorOptions took 16 ms
2022-12-27 09:24:02,956 [7187743]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-services-portletBridge-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-services-portletBridge-master)MavenProjectsManager took 16 ms
2022-12-27 09:24:02,962 [7187749]   INFO - STDOUT - []
2022-12-27 09:24:02,962 [7187749]   INFO - STDOUT - []
2022-12-27 09:24:02,962 [7187749]   INFO - STDOUT - []
2022-12-27 09:24:02,977 [7187764]   INFO - STDOUT - []
2022-12-27 09:24:02,977 [7187764]   INFO - STDOUT - []
2022-12-27 09:24:02,977 [7187764]   INFO - STDOUT - []
2022-12-27 09:24:03,024 [7187811]   INFO - STDOUT - []
2022-12-27 09:24:03,024 [7187811]   INFO - STDOUT - []
2022-12-27 09:24:03,024 [7187811]   INFO - STDOUT - []
2022-12-27 09:24:03,040 [7187827]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-rudra-services-portletBridge-master : 21 to update, calculated in 0ms
2022-12-27 09:24:03,040 [7187827]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:24:03,294 [7188081]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-rudra-services-portletBridge-master took 254ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:24:09,883 [7194670] SEVERE - c.j.t.m.TerminalTextBuffer - Attempt to get line out of bounds: 16 >= 16
2022-12-27 09:24:09,883 [7194670] SEVERE - c.j.t.m.TerminalTextBuffer - Attempt to get line out of bounds: 16 >= 16
2022-12-27 09:24:11,931 [7196718]   WARN - #c.i.o.a.i.ActionUpdater - 1213 ms to grab EDT for #update (com.intellij.codeInsight.actions.ReaderModeActionProvider$createAction$1)
2022-12-27 09:24:12,065 [7196852]   INFO - #c.i.c.ComponentStoreImpl - Saving appDebuggerSettings took 467 ms
2022-12-27 09:24:28,229 [7213016] SEVERE - c.j.t.m.TerminalTextBuffer - Attempt to get line out of bounds: 16 >= 16
2022-12-27 09:24:28,229 [7213016] SEVERE - c.j.t.m.TerminalTextBuffer - Attempt to get line out of bounds: 16 >= 16
2022-12-27 09:24:30,379 [7215166]   INFO - STDOUT - []
2022-12-27 09:24:30,379 [7215166]   INFO - STDOUT - []
2022-12-27 09:24:30,379 [7215166]   INFO - STDOUT - []
2022-12-27 09:24:30,489 [7215276]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-rudra-services-portletBridge-master : 115 to update, calculated in 6ms
2022-12-27 09:24:30,489 [7215276]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:24:30,489 [7215276]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-ui-angular6-master : 115 to update, calculated in 0ms
2022-12-27 09:24:30,497 [7215284]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:24:30,530 [7215317]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of PortletServletDemo : 111 to update, calculated in 0ms
2022-12-27 09:24:30,530 [7215317]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:24:30,580 [7215367]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-rudra-util-propertyAccess-master : 94 to update, calculated in 0ms
2022-12-27 09:24:30,580 [7215367]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:24:30,874 [7215661]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-rudra-util-propertyAccess-master took 294ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:24:30,884 [7215671]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-rudra-services-portletBridge-master took 395ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:24:30,935 [7215722]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-ui-angular6-master took 438ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:24:30,945 [7215732]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of PortletServletDemo took 415ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:24:40,634 [7225421]   INFO - STDOUT - []
2022-12-27 09:24:40,635 [7225422]   INFO - STDOUT - []
2022-12-27 09:24:40,635 [7225422]   INFO - STDOUT - []
2022-12-27 09:24:44,831 [7229618]   WARN - #c.i.o.a.i.ActionUpdater - 217 ms to grab EDT for StopAction#update (com.intellij.execution.dashboard.actions.StopAction)
2022-12-27 09:24:44,831 [7229618]   WARN - #c.i.o.a.i.ActionUpdater - 238 ms to grab EDT for #getChildren (com.intellij.openapi.editor.impl.EditorMarkupModelImpl$1)
2022-12-27 09:25:17,581 [7262368]   WARN - #c.i.o.a.i.ActionUpdater - 146 ms to call on EDT ChooseArtifactsAction#update (com.intellij.javaee.view.tool.action.ChooseArtifactsAction). Use `UpdateInBackground`.
2022-12-27 09:25:19,514 [7264301]   WARN - #c.i.o.a.i.ActionUpdater - 239 ms to grab EDT for #update (com.intellij.toolWindow.ToolWindowHeader$1)
2022-12-27 09:27:51,418 [7416205]   INFO - STDOUT - []
2022-12-27 09:27:51,418 [7416205]   INFO - STDOUT - []
2022-12-27 09:27:51,418 [7416205]   INFO - STDOUT - []
2022-12-27 09:27:51,630 [7416417]   INFO - STDOUT - []
2022-12-27 09:27:51,630 [7416417]   INFO - STDOUT - []
2022-12-27 09:27:51,630 [7416417]   INFO - STDOUT - []
2022-12-27 09:27:51,822 [7416609]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of PortletServletDemo : 26 to update, calculated in 0ms
2022-12-27 09:27:51,822 [7416609]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:27:51,871 [7416658]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-rudra-services-portletBridge-master : 26 to update, calculated in 0ms
2022-12-27 09:27:51,871 [7416658]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:27:51,912 [7416699]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-ui-angular6-master : 26 to update, calculated in 0ms
2022-12-27 09:27:51,912 [7416699]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:27:52,003 [7416790]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Reindexing refreshed files of janus-rudra-util-propertyAccess-master : 20 to update, calculated in 0ms
2022-12-27 09:27:52,003 [7416790]   INFO - #c.i.u.i.FileBasedIndexProjectHandler - Using 3 threads for indexing
2022-12-27 09:27:52,197 [7416984]   WARN - #c.i.o.a.i.ActionUpdater - 311 ms to grab EDT for TabListAction#update (com.intellij.ide.actions.TabListAction)
2022-12-27 09:27:52,197 [7416984]   WARN - #c.i.o.a.i.ActionUpdater - 311 ms to grab EDT for TabListAction#update (com.intellij.ide.actions.TabListAction)
2022-12-27 09:27:52,268 [7417055]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of PortletServletDemo took 446ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:27:52,268 [7417055]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-rudra-services-portletBridge-master took 397ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:27:52,268 [7417055]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-ui-angular6-master took 356ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:27:52,268 [7417055]   INFO - #c.i.d.PerformanceWatcherImpl - Reindexing refreshed files of janus-rudra-util-propertyAccess-master took 265ms; general responsiveness: ok; EDT responsiveness: ok
2022-12-27 09:27:56,386 [7421173]   WARN - #c.i.o.a.i.ActionUpdater - 816 ms to grab EDT for SyncProjectAction#update (com.android.tools.idea.gradle.actions.SyncProjectAction)
2022-12-27 09:27:56,390 [7421177]   WARN - #c.i.o.a.i.ActionUpdater - 820 ms to grab EDT for ShowOptionsAction#update (com.intellij.toolWindow.ToolWindowHeader$ShowOptionsAction)
2022-12-27 09:30:14,360 [7559147]   INFO - #c.i.c.ComponentStoreImpl - Saving appCompletionMLRankingSettings took 15 ms, DebuggerSettings took 16 ms, EditorColorsManagerImpl took 16 ms, GeneralSettings took 15 ms, Vcs.Log.App.Settings took 16 ms, editorConfigEncodings took 132 ms
2022-12-27 09:30:14,422 [7559209]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-services-portletBridge-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-services-portletBridge-master)RunManager took 15 ms
2022-12-27 09:30:14,429 [7559216]   INFO - STDOUT - []
2022-12-27 09:30:14,429 [7559216]   INFO - STDOUT - []
2022-12-27 09:30:14,429 [7559216]   INFO - STDOUT - []
2022-12-27 09:30:14,460 [7559247]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-ui-angular6-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\Workspace\NewWorkspace\janus-ui-angular6-master)editorHistoryManager took 16 ms
2022-12-27 09:30:14,491 [7559278]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=PortletServletDemo, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\PortletServletDemo)RunManager took 15 ms
2022-12-27 09:30:14,507 [7559294]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-util-propertyAccess-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-util-propertyAccess-master)Kotlin2JvmCompilerArguments took 16 ms
2022-12-27 09:30:14,507 [7559294]   INFO - STDOUT - []
2022-12-27 09:30:14,507 [7559294]   INFO - STDOUT - []
2022-12-27 09:30:14,507 [7559294]   INFO - STDOUT - []
2022-12-27 09:30:47,585 [7592372]   INFO - STDOUT - []
2022-12-27 09:30:47,585 [7592372]   INFO - STDOUT - []
2022-12-27 09:30:47,585 [7592372]   INFO - STDOUT - []
2022-12-27 09:30:48,310 [7593097]   WARN - #c.i.o.a.i.ActionUpdater - 169 ms to call on EDT AndroidConnectDebuggerAction#update (org.jetbrains.android.actions.AndroidConnectDebuggerAction). Use `UpdateInBackground`.
2022-12-27 09:30:50,098 [7594885]   INFO - #c.i.c.ComponentStoreImpl - Saving appDebuggerSettings took 31 ms, FileTypeManager took 16 ms, SonarLintGlobalSettings took 16 ms
2022-12-27 09:30:50,114 [7594901]   INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=janus-rudra-services-portletBridge-master, containerState=COMPONENT_CREATED, componentStore=C:\Users\AD15367\intellijWorkspace\janus-rudra-services-portletBridge-master)RunManager took 16 ms

0

Is it possible to share any sample project for investigation? Could you please check the issue with newly installed Tomcat 9?

0

Yes, it was the server settings . CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n" I had to remove this from the setenv.bat. Debugger has these options set already and it was complaining a duplicate. Thanks.!

0

You are welcome! Feel free to contact us if you need any assistance.

0

Please sign in to leave a comment.