Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
QuestionMy first potential dive into AI Pin
honey the codewitch23-Oct-23 8:56
mvahoney the codewitch23-Oct-23 8:56 
AnswerRe: My first potential dive into AI Pin
Gerry Schmitz24-Oct-23 7:55
mveGerry Schmitz24-Oct-23 7:55 
GeneralRe: My first potential dive into AI Pin
honey the codewitch24-Oct-23 7:57
mvahoney the codewitch24-Oct-23 7:57 
GeneralRe: My first potential dive into AI Pin
Gerry Schmitz24-Oct-23 21:04
mveGerry Schmitz24-Oct-23 21:04 
GeneralA week and a half, now in the bin Pin
honey the codewitch23-Oct-23 0:04
mvahoney the codewitch23-Oct-23 0:04 
GeneralRe: A week and a half, now in the bin Pin
Gary Stachelski 202123-Oct-23 4:26
Gary Stachelski 202123-Oct-23 4:26 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 4:27
mvahoney the codewitch23-Oct-23 4:27 
GeneralRe: A week and a half, now in the bin Pin
Gary Stachelski 202123-Oct-23 5:20
Gary Stachelski 202123-Oct-23 5:20 
interesting. (frustrating but interesting).
I must confess to being an old, crusty, developer. So here goes.
Add conditional code (via macros or assembly directives that are dependent on a keyword) to define a log file.
Pick spots in you code that you absolutely know have to be executed (start with file SVGs first)
Only use a few prints to the log, you only need to prove that the code is executing the way your brain is telling you it is executing. Then switch to manual SVG test. The log file should be the same. If it is not, then this is the paradox you are looking for. You are absolutely certain that the code must be executing but it is not. You can then concentrate on figuring out why it is not. If the log is identical but the manual SVG is still misbehaving, then you must refine the granularity of the prints by inserting more until you can prove all of the code is executing and still not producing output. (obviously this is not possible, but we are looking for a paradox. A point in the code that is deviating from the norm.)
I know this is not the sexy way of using real time debuggers, but I can not tell you the number of times that I was absolutely certain a piece of code was being executed, only to find it exiting out of a loop early for a reason I forgot about.

Hope this helps a tiny bit.
Good luck.
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 6:05
mvahoney the codewitch23-Oct-23 6:05 
GeneralRe: A week and a half, now in the bin Pin
Gary Stachelski 202123-Oct-23 8:16
Gary Stachelski 202123-Oct-23 8:16 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 8:18
mvahoney the codewitch23-Oct-23 8:18 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 17:31
mvahoney the codewitch23-Oct-23 17:31 
GeneralRe: A week and a half, now in the bin Pin
Gerry Schmitz23-Oct-23 5:52
mveGerry Schmitz23-Oct-23 5:52 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 6:09
mvahoney the codewitch23-Oct-23 6:09 
GeneralRe: A week and a half, now in the bin Pin
Gerry Schmitz24-Oct-23 7:40
mveGerry Schmitz24-Oct-23 7:40 
GeneralRe: A week and a half, now in the bin Pin
englebart23-Oct-23 13:28
professionalenglebart23-Oct-23 13:28 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 13:28
mvahoney the codewitch23-Oct-23 13:28 
GeneralRe: A week and a half, now in the bin Pin
Steve Raw23-Oct-23 13:30
professionalSteve Raw23-Oct-23 13:30 
GeneralRe: A week and a half, now in the bin Pin
honey the codewitch23-Oct-23 13:43
mvahoney the codewitch23-Oct-23 13:43 
GeneralRe: A week and a half, now in the bin Pin
Steve Raw23-Oct-23 14:32
professionalSteve Raw23-Oct-23 14:32 
GeneralRe: A week and a half, now in the bin Pin
Sander Rossel23-Oct-23 21:41
professionalSander Rossel23-Oct-23 21:41 
GeneralRe: A week and a half, now in the bin Pin
Steve Raw24-Oct-23 1:36
professionalSteve Raw24-Oct-23 1:36 
GeneralThat is interesting... Pin
Kornfeld Eliyahu Peter22-Oct-23 22:43
professionalKornfeld Eliyahu Peter22-Oct-23 22:43 
GeneralRe: That is interesting... Pin
RickZeeland22-Oct-23 23:35
mveRickZeeland22-Oct-23 23:35 
GeneralRe: That is interesting... Pin
charlieg23-Oct-23 0:44
charlieg23-Oct-23 0:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.