Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: debug after ui.Window.getCurrent  (Read 13625 times)
Nuno T.
Posts: 14


« on: September 23, 2014, 04:51:49 pm »

Hi,

If i do breakpoint after one  ui.Window.getCurrent() the program hangs.

Exemple code:

FUNCTION test()

  DEFINE result              SMALLINT
  DEFINE mywin               ui.Window
  DEFINE myform              ui.Form

  OPEN WINDOW wfdMain WITH FORM "testform"

    LET result = -1
BREAKPOINT 
    LET mywin  = ui.Window.getCurrent()
BREAKPOINT
    LET myform = mywin.getForm()
BREAKPOINT
    LET result = 5
BREAKPOINT

CLOSE WINDOW wfdMain

END FUNCTION

After my first breakpoint the program works fine, and in my data window i can see User, Local, Module and Global variables values.
If i do next breakpoint twice, the program hangs and all the debug menu buttons next,step into, step out, continue are disabled, only the interrupt buton remains activ but it does nothing.


Can someone help on this, please.

Romain W.
Four Js
Posts: 48


« Reply #1 on: September 23, 2014, 05:58:58 pm »

Hi,
This is a known issue, currently filed as #GST-5948. Will be fixed in next version.
For now, you can go on debugging from the 'Command' panel, but you have to enter the debugger commands manually.
Best regards,
Romain W.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines