Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debugging information #15

Open
aaron97neu opened this issue Nov 16, 2018 · 0 comments
Open

Add debugging information #15

aaron97neu opened this issue Nov 16, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@aaron97neu
Copy link
Member

Throughout the code, we see occasional debugging statements that have been commented out (and some that have not) like such:

# Debugging
# print "123"
# print nextPoint
# print "456"

These should be converted to real debug statements that allow for global enabling/disabling of debug statements. They should note the function/calltrace and other debug information, like such:

# Debugging
if debug == True
  print "Function: get_current_point()\t| var: nextPoint\t| value: "+nextpoint

or better yet

def debug_print(str)
  if debug == True
    print str

# Later in code 
debug_print("Function: get_current_point()\t| var: nextPoint\t| value: "+nextpoint)

I am not set on any specific debug syntax, but it should be standardized by whoever chooses to work on this issue

@aaron97neu aaron97neu added the enhancement New feature or request label Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant