# Debugger Ignoring Breakpoints

**URL:** https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854
**Category:** Classic Servoy
**Created:** [September 12, 2010, 11:24pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854 "2010-09-12T23:24:22Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 12, 2010, 11:24pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/1 "2010-09-12T23:24:22Z")

</div>

I have to assume I have somehow disabled my debugger in a way I cannot see in the interface, as it is skipping breakpoints I set on a regular basis since I upgraded to 5.2.1. No one else seems to be reporting this, so someone point me to how I might have set something wrong? Skip all breakpoints is not selected. See attached. I’m running the method shown with breakpoints in this picture over and over, and it never stops at them.

This is macintosh btw. ![:D]( "Very Happy")

 ![Screen shot 2010-09-12 at 4.17.49 PM.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/7/74c89a0a6d00d865150e39b940b50d7501626124.png)

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 13, 2010, 3:41am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/2 "2010-09-13T03:41:36Z")

</div>

More evidence/question in attached screen shot. I put a dialog in my method to prove that it was running, and it is – but the breakpoint is being skipped. I am only a few months into Eclipse, I may totally have a setting wrong. Anyone?

 ![Screen shot 2010-09-12 at 8.34.03 PM.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/a/adb6807b4264f5ddb40c3c7f19d4b7c3b70fa99e.png)

---

<div class="post-metadata">

### Author: ![Kahuna](https://avatars.discourse-cdn.com/v4/letter/k/8491ac/32.png) [@Kahuna](https://forum.servoy.com/u/Kahuna)
#### Post date: [September 13, 2010, 8:04am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/3 "2010-09-13T08:04:07Z")

</div>

We have experienced this daily for the last few weeks - and only a developer restart seems to fix it!

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [September 13, 2010, 10:19am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/4 "2010-09-13T10:19:41Z")

</div>

yes this is logical that it doesnt work  
because see on the left…

→ Debugging Engine

If that happens then no break point will be hit ever. Because the debugger has no connection to the client.

You have to hit the launch button again for a connection to be made.

If you have a situation where you see the state switch from connected to terminated where you dont expect it and you can reproduce this, please let me know

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 13, 2010, 2:47pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/5 "2010-09-13T14:47:31Z")

</div>

This is definitely a 5.2.1 bug – I’ll try to figure out how it happens, but it’s just been plaguing me since I upgraded to 5.2.1. Never happened before that.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [September 13, 2010, 2:55pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/6 "2010-09-13T14:55:42Z")

</div>

there are as far as i can see no changes to the debugger (rhino or the dltk code in eclipse) from 5.2.0 to 5.2.1

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 13, 2010, 7:36pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/7 "2010-09-13T19:36:15Z")

</div>

It just occurred to me that my smart client launched from developer has been dying lately (since 5.2.1 as well) – meaning that if I leave it idle too long, I come back and it doesn’t respond to anything I click on. I close it (if I can get it to respond to that) and relaunch. I wonder if that’s tied to debugger disconnecting? This symptom is also not something I’m used to. I used to be able to even put my mac to sleep and return to Servoy without client ever disconnecting.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [September 13, 2010, 9:26pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/8 "2010-09-13T21:26:23Z")

</div>

what is the setting that you have in preferences, dynamic languages → debug → response time out?  
that should be 0 (never time out)

some how your connection terminates, i will try to improve this by trying to check even better if the connection is killed.

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 14, 2010, 5:13pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/9 "2010-09-14T17:13:25Z")

</div>

Yes, just checked – Response timeout (sec): 0

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [September 14, 2010, 7:27pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/10 "2010-09-14T19:27:21Z")

</div>

ok that is fine then  
The you have to monitor when you suddenly see “terminated” in the debug window  
at the moment you see that, you have to relaunch the client. That will make the connection again.

If you have a specific place where you see that happening, like you debug and then suddnely it is terminated  
that did happen now and then because you show a specific variable that cant be handled. Then a sample would be nice what you debug at that time.

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 20, 2010, 11:26pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/11 "2010-09-20T23:26:26Z")

</div>

It’s doing it again today – but no in the debugger. See picture attached.

 ![Screen shot 2010-09-20 at 4.20.36 PM.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/f5183d007b223787f8b2b4c3abffa60eed888039.png)

---

<div class="post-metadata">

### Author: ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)
#### Post date: [September 21, 2010, 5:42am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/12 "2010-09-21T05:42:01Z")

</div>

Currently you are on line 1143, but this is a modal dialog that will continue to the next line only after you have clicked on the OK button.  
So you should break into the debugger just after this capture, when you click OK. I don’t think there is anything wrong here.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [September 21, 2010, 7:18am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/13 "2010-09-21T07:18:15Z")

</div>

you are hitting a limitation of the mac, breakpoints are ignored on the mac in modal dialogs, else it would lock out everything.

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [September 21, 2010, 7:25pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/14 "2010-09-21T19:25:59Z")

</div>

I swear it was never stopping at that breakpoint. At all – even after OK. I was trying everything, setting breakpoints all over the solution – I just screenshotted the one that I needed it to stop at. But I’m not at that mac now so I can’t prove it. Will report back if I see it again, thanks.

---

<div class="post-metadata">

### Author: ![kwpsd](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kwpsd](https://forum.servoy.com/u/kwpsd)
#### Post date: [September 22, 2010, 6:16pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/15 "2010-09-22T18:16:28Z")

</div>

You’re not going crazy Ellen. We, too, have seen this behavior with breakpoints in the debugger, and the only way to ‘fix’ it is to re-start Developer. We experienced the debugger working correctly sucessive times within the same session only to have it suddenly stop working (even through the breakpoints were still enabled). I was unaware of the debugger connection termination problem but will watch for it and report back.

---

<div class="post-metadata">

### Author: ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)
#### Post date: [September 23, 2010, 8:16pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/16 "2010-09-23T20:16:09Z")

</div>

> jcompagner:  
> you are hitting a limitation of the mac, breakpoints are ignored on the mac in modal dialogs, else it would lock out everything.

Handy tip for Mac and modal dialogs: keep around a line of code that shows the dialog in the same method that opens the modal dialog. Uncomment it out and comment out the modal call so you can debug. Flip back when you’re done.

```auto
	var popupName = 'ARCH_P_email__project_lead_initiation'
		
	//turn autosave off
	databaseManager.setAutoSave(false)
	
	//new record
	forms[popupName].controller.newRecord()	
	
	//show pop-up for data entry
	application.showFormInDialog(
				forms[popupName],
				-1,-1,-1,-1,
				' ',
				false,
				false,
				'emailProjectLeadInitiation'
			)
	
//	forms[popupName].controller.show()

```

---

<div class="post-metadata">

### Author: ![ellenmeserow](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ellenmeserow](https://forum.servoy.com/u/ellenmeserow)
#### Post date: [October 1, 2010, 5:18pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/17 "2010-10-01T17:18:53Z")

</div>

Thanks Kim! I just saw it again, on Windows, and checked for termination in the debugger – no. Also, interestingly – the reason I had set the breakpoint I had set is because it didn’t appear to be running that method. And in fact, it wasn’t. Quitting developer not only made the breakpoint work, but the method started firing again as it always has. Just a bad launch of developer.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [October 7, 2010, 7:18am UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/18 "2010-10-07T07:18:57Z")

</div>

about that last thing, now we are mixing up stuff. because if that method didnt run at all (also now with a close of the smart clients solution, so a only a reload there?) then the breakpoint can’t be hit also.

---

<div class="post-metadata">

### Author: ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)
#### Post date: [October 29, 2010, 1:10pm UTC](https://forum.servoy.com/t/debugger-ignoring-breakpoints/12854/19 "2010-10-29T13:10:11Z")

</div>

are you using the solution model to alter a form?  
Because before the latest release of 5.2.2 when you have altered a form with solution model, the changes you made then in the developer are not reflected in the client  
this is fixed for 5.2.2 where we just apply it on the form in the debug smart client even if that is changed (so potentially reverting the thing you changed through the solution model)
