sorosy Debugger

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
kieran-pierce
Posts: 10
Joined: 02 Nov 2012, 22:14

sorosy Debugger

Post 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
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: sorosy Debugger

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
kieran-pierce
Posts: 10
Joined: 02 Nov 2012, 22:14

Re: sorosy Debugger

Post 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
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: sorosy Debugger

Post 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
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: sorosy Debugger

Post 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 430 times
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
kieran-pierce
Posts: 10
Joined: 02 Nov 2012, 22:14

Re: sorosy Debugger

Post by kieran-pierce »

Thanks so much for taking the time to revisit this
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 19 guests