Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-platform
Commits
e7563e78
Verified
Commit
e7563e78
authored
Oct 02, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Debug.Trace
parent
8f2b4519
Pipeline
#14379
passed with stage
in 4 minutes and 47 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
src/libraries/OS-Independent/Debug/Trace.dcl
src/libraries/OS-Independent/Debug/Trace.dcl
+12
-0
src/libraries/OS-Independent/Debug/Trace.icl
src/libraries/OS-Independent/Debug/Trace.icl
+9
-0
tests/linux64/test.icl
tests/linux64/test.icl
+1
-0
No files found.
src/libraries/OS-Independent/Debug/Trace.dcl
0 → 100644
View file @
e7563e78
definition
module
Debug
.
Trace
/**
* This module provides functions to trace values to output channels. Other
* useful functions can be found in StdEnv's {{StdDebug}}.
*/
/**
* Prints the value to stdout and returns it. Other than the functions in
* {{StdDebug}}, this does not require {{`toString`}}.
*/
trace_stdout
::
!.
a
->
.
a
src/libraries/OS-Independent/Debug/Trace.icl
0 → 100644
View file @
e7563e78
implementation
module
Debug
.
Trace
trace_stdout
::
!.
a
->
.
a
trace_stdout
_
=
code {
push_a
0
.d
1
0
jsr
_print_graph
.o
0
0
}
tests/linux64/test.icl
View file @
e7563e78
...
...
@@ -122,6 +122,7 @@ import qualified Database.SQL.SQLite
import
qualified
Database
.
SQL
.
_MySQL
import
qualified
Database
.
SQL
.
_SQLite
import
qualified
Debug
.
Performance
import
qualified
Debug
.
Trace
import
qualified
Graphics
.
Layout
import
qualified
Graphics
.
Scalable
.
Image
import
qualified
Graphics
.
Scalable
.
Internal
.
Image`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment