B4J Question Debug being grayed

Discussion in 'B4J Questions' started by positrom2, Jul 25, 2015.

  1. positrom2

    positrom2 Active Member Licensed User

    In B4J 3.50Beta the "Debug" text is grayed and inactive.
    How to debug?
  2. giga

    giga Well-Known Member Licensed User

    You should be able to still use debug from the dropdown(mode).
    Debug on the top bar is grayed out across the top ion mine as well(I don't know why)
  3. Erel

    Erel Administrator Staff Member Licensed User

    The debug menu is enabled when there is an active debug session. Run your app and it will be enabled.
  4. positrom2

    positrom2 Active Member Licensed User

    "Debug" menu will not be enabled when the app runs.

    #Region Project Attributes
    #MainFormWidth: 600
    #MainFormHeight: 400
    #End Region

    Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form
    Private Button1 As Button
    Private Canvas1 As Canvas
    Private Pane1 As Pane
    'Dim Red As javafx.scene.paint.Paint
    End Sub

    Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("main") 'Load the layout file.

    End Sub
    Sub linn
    End Sub
    Sub Canvas1_MouseClicked (EventData As MouseEvent)
    End Sub
    Sub Button1_MouseClicked (EventData As MouseEvent)

    End Sub
    Last edited: Jul 25, 2015
  5. giga

    giga Well-Known Member Licensed User

    I tried it again and Erel is right the debug menu becomes enabled. The project I was working on covered the top part of the screen so I couldn't see the debug menu become enabled.

    Is that not working for you?
  6. positrom2

    positrom2 Active Member Licensed User

    No, all other menu items are enabled rather the Debug one.
  7. giga

    giga Well-Known Member Licensed User

    All items across the top menu are enabled(black) except Debug(gray).
    When you run the project and select debug mode from the drop down (red arrow indicated) the Debug menu becomes enabled (black)

    DonManfred and Erel like this.
  8. positrom2

    positrom2 Active Member Licensed User

    Thank you giga.
    Up to version 2.8 there was no separate "Debug" menu in the top line.
    Having the grayed "Debug" in the new version is somewhat confusing.
    In the old version that "Debug" menu popped up nicely after having chosen "Debug" and running (you see how hard it is to define what is being meant).
    Now, on a somewhat dull screen. the difference between gray and black is not that obvious.
    After having learned this peculiarity it is ok.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice