Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#ffffff
titleQ

Sometimes after debugging, the netX Studio toolbar is missing the debug buttons. How to fix this?

Image Removed

Panel
bgColor#ffffff
titleA

This is a bug which occurs Various issues have been reported about disappearing or inactive toolbar buttons. The issues occur in different situations and is are difficult to trace. A fix may be available in future netX Studio versionsWe hope to provide a reliable fix in upcoming versions of netX Studio. In the meantime, you may try the workarounds below.Try switching possible fixes below.

Known issues

Missing debug buttons from debug perspective

Image Added

So far we are unable to reproduce this issue, but it is most likely related to a bug found in one of the PyDev plug-ins included with netX Studio.

=> Try applying the PyDev plug-in patch below.

Missing build and start debugging buttons from development perspective

Image Added

This may happen when an error occurs while netX Studio tries to switch between the development and debug perspectives,
e.g. when the device cable is disconnected and the debug session gets aborted.

=> Try switching between the development and debug perspectives manually or restarting netX Studio.

Inactive debug buttons

Image Added

The debug toolbar buttons are associated with the Debug view. If the Debug view is closed,
then the debug buttons on the toolbar will be disabled and will look like the screenshot above.

=> Try resetting the window layout from Window > Reset Layout or simply bring back
the Debug view by selecting Window > Show View > Debug from the main menu.

Possible fixes

1) Restart netX Studio

The first thing to try is to restart netX Studio. Instead of restarting, you can also try to switch between the development and debug perspectives manually as described below.

Anchor
switch_perspective_manually
switch_perspective_manually

2) Switch between the netX Development and netX Debug perspectives manually

netX Studio switches automatically between the development and debug perspectives. In some cases the automatic switching might break, leaving netX Studio in a state where toolbar buttons and menu items are missing. In this case it might help to switch between the perspectives manually:

Expand
  1. If there is an active debug session, stop debugging to return back to the development perspective

  2. From the netX Development perspective, in the Quick Access box at the right-end of the toolbar type in "netX Debug" and select the netX Debug perspective to open the debug perspective
Image Removed
  1. Image Added

  2. From the netX Debug perspective, in the Quick Access box type in "netX Development" and select the netX Development perspective to return to the development perspective
Image Removed
  1. Image Added

If the missing buttons do not appear, and restarting netX Studio does not help, you may choose try to reset the current perspective or the entire netX Studio window layout by deleting the workbench.xmi configuration file.as described below.

3) Reset the current perspective from Window > Reset Layout

Resetting the current perspective should reset all toolbar buttons and views to their default:

Image Added


Note

The Windows AppData folder is hidden by default and you may need to check the Hidden items option in File Explorer > View to see it.

Open the most recent preferences folder and then navigate to .plugins\org.eclipse.e4.workbench
Image Removed
  • Delete the workbench.xmi file
  • Start netX Studio again => netX Studio is started with the default window layout

    4) Reset the entire netX Studio window layout by deleting workbench.xmi:

    Close netX Studio (make sure it is not running as deleting the workbench.xmi file will not take effect otherwise)
    Navigate to the netX Studio CDT user preferences folder:
    C:\Users\<UserName>\AppData\Local\Hilscher GmbH\netX Studio CDT\preferences
    Image Removed

    to its default

    To reset the entire netX Studio window layout to its default, download and run the batch script: netxstudio_reset_window_layout.bat

    The script deletes theworkbench.xmi file which stores the current state of all toolbar buttons and views.


    Anchor
    pydev_plugin_patch
    pydev_plugin_patch

    5) Fix debug toolbar bug caused by PyDev plug-ins

    The current version of PyDev included with netX Studio has a bug which may cause the debug toolbar to disappear. In future netX Studio versions this will be fixed, but for existing installations the fix can be applied with the following patch:

    1. Download and unzip the patch to a temporary location: netxstudio_debug_toolbar_fix.zip
    2. Run the batch script: netxstudio_debug_toolbar_fix.bat

    After applying the patch, the netX Studio window layout will be reset to its default and the debug toolbar bug will be fixed.

    Panel
    bgColor#ffffff
    titleSee also...

    Filter by label (Content by label)
    showLabelsfalse
    spaces@self
    showSpacefalse
    cqllabel = "faq" and space = currentSpace()
    labelsfaq