Page 1 of 1

sorosy Debugger

Posted: 02 Nov 2012, 22:15
by kieran-pierce
HI all,

I posted the following over at eurobricks and was pointed in the direction of this forum, can anyone help please?

Hi, I have been trying to download the debugger provided here

http://www.sorosy.co...dbg/index.phtml

But the link does not seem to work, any one have this file or a like to a mirror anywhere.

Many thanks

Re: sorosy Debugger

Posted: 03 Nov 2012, 00:33
by afanofosc
To the best of my knowledge this is no longer available. It was only available for the NBC (assembly language) compiler and not NXC. BricxCC includes some of the features of the old sorosy debugger now for NXC, including the ability to pause a running program and single step through code. This requires the enhanced NBC/NXC firmware and it is not perfect but it can be used to help debug a program written in NBC or NXC for the NXT.

John Hansen

Re: sorosy Debugger

Posted: 03 Nov 2012, 12:15
by kieran-pierce
John,

thanks for the pointer, I had been running the firmware for a while but never worked out how to the the built in debugging features. I can get the code to break but am struggling to find a way to display the value of variables. I can see the watch brick functions and guess that there is a mapping of the check boxes to the vars I declare in my code am I right?

By the way I love BricxCC, many thanks for producing this great work

Re: sorosy Debugger

Posted: 03 Nov 2012, 22:55
by afanofosc
I would watch the video at this link:

https://dl.dropbox.com/u/53437658/debug.m4v

It shows that the debugging tools are not perfect but that they do work so long as you have the enhanced NBC/NXC firmware on your brick and you have a recent test release of BricxCC. The NXT Watch List is easiest to use for watching variables. At present, the variable names shown are still decorated but you can figure out which ones are the variables in your code. I plan on fixing that at some point.

John Hansen

Re: sorosy Debugger

Posted: 08 Nov 2012, 17:49
by afanofosc
I wrote an email to a user today that shows how to watch variables via the 3 different mechanisms BricxCC provides. I've attached that email as a PDF document.
watch_options.pdf
(442.78 KiB) Downloaded 435 times
John Hansen

Re: sorosy Debugger

Posted: 08 Nov 2012, 20:40
by kieran-pierce
Thanks so much for taking the time to revisit this