Timeline for Check value of local variable assigned with let/let* editing org-export functions
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 24, 2023 at 23:12 | comment | added | phils |
That's very odd -- if you've added (message "Value is %S" varname) to the code and you're not getting any messages from that, my only explanation is that the form is not being evaluated. Reasons for that could be "it's in the wrong place", or maybe "you forgot to evaluate the modified function definition". It's hard to say, though.
|
|
Nov 24, 2023 at 18:04 | comment | added | lukeflo |
I find edebug more user friendly than regular debug . It steps through the function showing every value. Nevertheless, it can take some time. Couldn't get it to go with logging the value as message which seems to be the less complicated way. Might have to take a more detailed look into the docs...
|
|
Nov 24, 2023 at 17:39 | vote | accept | lukeflo | ||
Nov 15, 2023 at 6:29 | comment | added | lukeflo | @PhilHudson I know. I'm still testing the different ways and will share my experience soon. | |
Nov 14, 2023 at 21:41 | comment | added | Phil Hudson | @lukeflo If you found phils' answer helpful, you should mark the answer as accepted | |
Nov 11, 2023 at 4:49 | comment | added | phils |
"It depends" -- whichever gets me the result with the least effort basically. Probably either message or using one of the debuggers in practice. Try them all. Using the debuggers is the most complex suggestion, but having a basic familiarity with those is very valuable, so I recommend doing that regardless of the current problem.
|
|
Nov 10, 2023 at 13:06 | comment | added | lukeflo | thanks for the hints. I'll try some of your suggestions. Which way would you prefer personally? | |
Nov 10, 2023 at 11:48 | history | answered | phils | CC BY-SA 4.0 |