Interesting behaviour, Robert -- and a potential clue.
Thanks Joas for reminding me to state my development platform:
Eclipse Platform 3.3.3.r33x_r20080129-...
Eclipse Development Tools 3.3.2.r33x_r20080129-...
Servoy Eclipse 4.1.3.672 [Taken from 'Product Configuration' Servoy Feature, listed under Help|Software Updates|Manage Configuration]
Mac OS X 10.5.7
_________________
Code to call the modal dialogue:
At the end of code associated with a 'search' button on a main search record form I call up a modal dialog as follows:
- Code: Select all
application.showFormInDialog(forms.frm_search_criteria_people, -1, -1, 640, 672, 'Search for people', false, false, 'Dialogue', true);
Of course, execution stops once the form is displayed. My breakpoint comes near the beginning of code associated with a button on the dialog form:
- Code: Select all
function btn_cancel()
{
//set a global to the text of the button pressed
globals.dialog_buttonPressed = elements.btn_cancel.text
globals.ok_to_close_dialog = 1
The breakpoint is on the line beginning globals.dialog_buttonPressed....
I have tried breakpoints on other lines in code associated with this button; and with other buttons on modal dialog forms, but none trigger the debugger. In contrast, any breakpoint in code associated with non-modal dialog situations seems to trigger the debugger: this is expected behaviour.