MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / main_get_debug_data

Function main_get_debug_data

PySimpleGUI/PySimpleGUI.py:24995–25012  ·  view source on GitHub ↗

Collect up and display the data needed to file GitHub issues. This function will place the information on the clipboard. You MUST paste the information from the clipboard prior to existing your application (except on Windows). :param suppress_popup: If True no popup window will be s

(suppress_popup=False)

Source from the content-addressed store, hash-verified

24993
24994
24995def main_get_debug_data(suppress_popup=False):
24996 """
24997 Collect up and display the data needed to file GitHub issues.
24998 This function will place the information on the clipboard.
24999 You MUST paste the information from the clipboard prior to existing your application (except on Windows).
25000 :param suppress_popup: If True no popup window will be shown. The string will be only returned, not displayed
25001 :type suppress_popup: (bool)
25002 :returns: String containing the information to place into the GitHub Issue
25003 :rtype: (str)
25004 """
25005 message = get_versions()
25006 clipboard_set(message)
25007
25008 if not suppress_popup:
25009 popup_scrolled('*** Version information copied to your clipboard. Paste into your GitHub Issue. ***\n',
25010 message, title='Select and copy this info to your GitHub Issue', keep_on_top=True, size=(100, 10))
25011
25012 return message
25013
25014
25015# ..######...##........#######..########.....###....##.........

Callers 1

mainFunction · 0.85

Calls 3

get_versionsFunction · 0.85
clipboard_setFunction · 0.85
popup_scrolledFunction · 0.85

Tested by

no test coverage detected