bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test adn debug bug


From: Bill Daly
Subject: Test adn debug bug
Date: Fri, 19 Jan 2024 16:17:19 -0500
User-agent: Mozilla Thunderbird

I'm enclosing three files

  1) test_debug_bug.log is a session log of me testing some new software.

  2) ctrgl_revised.sql is a dump of the database that was opened during this session.

  3) ctrgl_test_debug_bug.apl is the workspace I was testing.

First this demonstrates yet again that I am constitutionally unable to correctly enter any line of code.

Find the function ctrgl_check_period and look at line 4 where I used an non existent variable arg.

The log shows me loading the workspace; opening the database; creating a document, begin; and trying to look at it with function sqlh ctrgl_doc_show begin. I trip across my own typo.

I then edited the workspace file, corrected line 4.

You'll see that I reloaded the new revised file and created document begin.  I confirmed the revision by displaying the code for ctrgl_check_period and seeing the revised line 4.

I then executed `sqlh ctrgl_doc_show` again and tripped on my now reappeared typo.

I'm hoping thee will have fun with this one

I'll confess that I've struggled with this bug through several test and debut sessions and despaired ever being able to recreate it. I get so wrapped up in the test and debug I can't recreate the environment I was in.  It turns out easier than I expected.

w

Attachment: test_debug_bug.log
Description: Text Data

Attachment: ctrgl_revised.sql
Description: application/sql

Attachment: ctrgl_test_debug_bug.apl
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]