Hello Sarg:
I noticed a very strange bug using version 2.91 b1 (32 bit).
If you try to run to cursor on a line were variable = variable, the debugger reports it as an inaccessable line.
Example. Put the cursor on the x = x line and press run to cursor.
I you take a look on the intermediate Assembly/C output from the compiler (compile using "-r -g" options) you'll see that no code is generated for "x = x", so there's nothing that could be debugged (-> inaccessible line). So nothing is wrong with FbDebugger in this case.
Anyway, why would one ever write code like "x = x" ?
If you want to add a dummy instruction doing nothing for debugging purposes you could use e.g. "asm nop" instead (for x86 and x64).
St_W wrote:If you want to add a dummy instruction doing nothing for debugging purposes you could use e.g. "asm nop" instead (for x86 and x64).
That is exactly what I was doing. I wanted to start stepping through at a certain point under a certain condition, so I needed code inside an if block.
Thanks for the info. I will use asm nop from now on.
@SARG
I am looking for a place to put my FB related stuff. And I see you are using the German FreeBASIC site. How do I go about setting up an account on the German FreeBASIC server (you seem to be uploading your stuff to http://users.freebasic-portal.de/sarg/).
AGS wrote:How do I go about setting up an account on the German FreeBASIC server
http://users.freebasic-portal.de/ wrote:Every FreeBASIC programmer can apply to get a free web hosting account on this server to store and publish his/her programming related contents. Just contact the server operator (see email address below).
[...]
E-mail address of the server operator: mail ((at)) freebasic-portal [dot] de