Newest at the top
2024-12-25 15:45:18 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-12-25 15:45:18 +0100 | gmg | (~user@user/gehmehgeh) (Quit: Leaving) |
2024-12-25 15:45:08 +0100 | tomboy64 | (~tomboy64@user/tomboy64) (Ping timeout: 264 seconds) |
2024-12-25 15:44:38 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) lxsameer |
2024-12-25 15:44:32 +0100 | meritamen | (~meritamen@user/meritamen) (Ping timeout: 264 seconds) |
2024-12-25 15:41:53 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-12-25 15:40:46 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds) |
2024-12-25 15:40:38 +0100 | meritamen_ | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:40:05 +0100 | sayurc | (~sayurc@169.150.203.34) sayurc |
2024-12-25 15:39:52 +0100 | meritamen | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:37:59 +0100 | troydm | (~troydm@user/troydm) (Ping timeout: 252 seconds) |
2024-12-25 15:36:32 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-25 15:35:49 +0100 | toch | (toch@user/toch) toch |
2024-12-25 15:32:27 +0100 | meritamen | (~meritamen@user/meritamen) (Quit: My Mac has gone to sleep. ZZZzzz…) |
2024-12-25 15:30:48 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 276 seconds) |
2024-12-25 15:28:33 +0100 | toch_ | (toch@user/toch) (Quit: WeeChat 4.5.0) |
2024-12-25 15:25:55 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-25 15:25:06 +0100 | Pixi | (~Pixi@user/pixi) Pixi |
2024-12-25 15:24:38 +0100 | meritamen | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:23:05 +0100 | meritamen | (~meritamen@user/meritamen) (Remote host closed the connection) |
2024-12-25 15:18:33 +0100 | Pixi | (~Pixi@user/pixi) (Ping timeout: 244 seconds) |
2024-12-25 15:14:56 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds) |
2024-12-25 15:14:38 +0100 | <int-e> | neither of those is a generic logging mechanism |
2024-12-25 15:14:34 +0100 | meritamen | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:14:11 +0100 | <int-e> | There's two parts of Debug.Trace; the `traceEvent` family of functions is subject to the event log being enabled during linking. The other functions unconditionally write to the program's output (stderr), and meant to be used in a build-run-edit debugging loop |
2024-12-25 15:13:02 +0100 | meritamen | (~meritamen@user/meritamen) (Remote host closed the connection) |
2024-12-25 15:12:47 +0100 | meritamen | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:11:08 +0100 | EvanR | (~EvanR@user/evanr) (Quit: Leaving) |
2024-12-25 15:10:25 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-25 15:09:37 +0100 | <int-e> | hellwolf: "it"? |
2024-12-25 15:09:17 +0100 | meritamen | (~meritamen@user/meritamen) (Remote host closed the connection) |
2024-12-25 15:05:54 +0100 | gentauro | (~gentauro@user/gentauro) gentauro |
2024-12-25 15:05:10 +0100 | meritamen | (~meritamen@user/meritamen) meritamen |
2024-12-25 15:03:35 +0100 | meritamen | (~meritamen@user/meritamen) (Remote host closed the connection) |
2024-12-25 15:01:34 +0100 | gentauro | (~gentauro@user/gentauro) (Read error: Connection reset by peer) |
2024-12-25 14:58:02 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2024-12-25 14:57:35 +0100 | <hellwolf> | can you turn it off by environment variable or RTS options? |
2024-12-25 14:56:45 +0100 | <int-e> | Debug.Trace goes a long way. |
2024-12-25 14:56:21 +0100 | <hellwolf> | fwiw, I currently do Text.IO and print out result as much it can, and it stops at where it crashed. That's actually always helpful... good old printf debugging, I guess. |
2024-12-25 14:56:16 +0100 | int-e | shrugs |
2024-12-25 14:56:09 +0100 | <int-e> | so that tells you where f was called from. |
2024-12-25 14:55:55 +0100 | <yahb2> | [("f",SrcLoc {srcLocPackage = "interactive", srcLocModule = "Ghci7", srcLocFile = "<interactive>", srcLocStartLine = 41, srcLocStartCol = 81, srcLocEndLine = 41, srcLocEndCol = 82})] |
2024-12-25 14:55:55 +0100 | <int-e> | % let f :: HasCallStack => String; f = show (getCallStack ?callStack) in putStrLn f |
2024-12-25 14:55:51 +0100 | <yahb2> | <no output> |
2024-12-25 14:55:51 +0100 | <int-e> | % :set -XImplicitParams |
2024-12-25 14:55:30 +0100 | <yahb2> | <interactive>:37:57: error: [GHC-88464] ; Variable not in scope: ; (?) :: (CallStack -> [([Char], SrcLoc)]) -> CallStack -> a0 |
2024-12-25 14:55:30 +0100 | <int-e> | % let f :: HasCallStack => String; f = show (getCallStack ?callStack) in putStrLn f |
2024-12-25 14:55:09 +0100 | <yahb2> | <no output> |
2024-12-25 14:55:09 +0100 | <int-e> | % import GHC.Stack |
2024-12-25 14:55:00 +0100 | <yahb2> | <no location info>: error: [GHC-35235] ; Could not find module ‘GHC.CallStack’. ; It is not a module in the current program, or in any known package. |