Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

To differentiate & quick finding the debug results in feature script notices

KinKin Member Posts: 16 PRO
While working on complex & lengthy programs, it is difficult to quickly find the specific debug results in feature script notices window especially when there are numerous debug results. Currently, we can use println method to attach string to differentiate debug results. As an alternate method, i propose OnShape to add the line number to debug results in the notices window something like below. 

Feature studio:
335           debug(context,targetFace);
336           return;

Currently:
debug: Query resolves to 1 face
Proposal:
debug:335- Query resolves to 1 face
Tagged:

Comments

  • lougallolougallo Member, Moderator, Onshape Employees, Developers Posts: 1,814
    @KinThis seems like a request for a stack trace.  Although this would take you to the line where the debug was added, it does not really help diagnose the issue you might be debugging.
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
Sign In or Register to comment.