Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix grammar in troubleshoot.rst
  • Loading branch information
armgabrielyan authored Oct 21, 2022
commit 612a45cda0cc1add5dc16964bb7ddf8a052fedae
4 changes: 2 additions & 2 deletions docs/source/user/troubleshoot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ the line in which the access violation occurred is printed.

Continuing the example as a debugging session demonstration, first ``index``
can be printed, and it is evidently 1e9. Printing ``c`` shows that it is a
structure, so the type needs looking up and it can be seen that is it an
structure, so the type needs looking up and it can be seen that it is an
``array(float64, 1d, C)`` type. Given the segfault came from an invalid access
it would be informative to check the number of items in the array and compare
that to the index requested. Inspecting the ``nitems`` member of the structure
Expand Down Expand Up @@ -874,7 +874,7 @@ breakpoint was hit, and after a ``continue`` was issued, it broke again at line
Debugging in parallel regions
-----------------------------

The follow example is quite involved, it executes with ``gdb`` instrumentation
The following example is quite involved, it executes with ``gdb`` instrumentation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please could this be line wrapped to 80 characters? Many thanks.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the comment! I have made the appropriate changes. Could you please check it out?

from the outset as per the example above, but it also uses threads and makes use
of the breakpoint functionality. Further, the last iteration of the parallel
section calls the function ``work``, which is actually just a binding to
Expand Down