Monday, March 17, 2008

Re: [oopic] oSerialL and oLCDSE

My favorite method, which I use even on IDE's that have full ICE ability
is "printf". On most processors I use a plain ol' string output over a
serial port. I will admit that having full breakpoint capability is a
boon when working with complex state machines - But sometime just
picking a couple of variables to print out at certain points will
provide all you need to ponder.

DLC

Brian Lloyd wrote:
> OK, I'll bite. How do you guys do debugging of ooPIC code? I have put
> together a moderately complex state machine that is not behaving as I
> expect it should. So I need to track events and state transitions. (I
> am not using ooPIC events as they are not working right now in C.1.1+.)
>
> So for now I insert a while statement that spins on an input to act as
> a breakpoint and then I examine the properties and/or variables but I
> would like to be able to monitor things as the system is running so I
> can see the response to events in something more like real-time. I am
> trying to get the LCD to allow that.
>
> (I sure would like a real source-level debugger via SCP and the IDE.)
>
> --
>
> Brian Lloyd Granite Bay Montessori
> brian AT gbmontessori DOT com 9330 Sierra College Blvd.
> +1.916.367.2131 (voice) Roseville, CA 95661, USA
>

http://www.gbmontessori.com
>
> I fly because it releases my mind from the tyranny of petty things . . .
> — Antoine de Saint-Exupéry
>
> PGP key ID: 12095C52A32A1B6C
> PGP key fingerprint: 3B1D BA11 4913 3254 B6E0 CC09 1209 5C52 A32A 1B6C
>
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


========================================================================
Groups related to oopic
========================================================================

SeattleRobotics (233 common members)

http://groups.yahoo.com/group/SeattleRobotics?v=1&t=ipt&ch=email&pub=groups&slk=aftr0&sec=recg


Mechanical/Robotics: The Seattle Robotics Society is a world wide group...

piclist (183 common members)

http://groups.yahoo.com/group/piclist?v=1&t=ipt&ch=email&pub=groups&slk=aftr1&sec=recg


Microprocessors/Microcontrollers: A discussion group for the PICMicro microcontrolle...

Robotics (130 common members)

http://groups.yahoo.com/group/Robotics?v=1&t=ipt&ch=email&pub=groups&slk=aftr2&sec=recg


Mechanical/Robotics: Robotics discussion group. This egroup is for thos...

rabbit-semi (119 common members)

http://groups.yahoo.com/group/rabbit-semi?v=1&t=ipt&ch=email&pub=groups&slk=aftr3&sec=recg


Microprocessors/Microcontrollers: This is a user group for folks designing and progr...

PARTS (107 common members)

http://groups.yahoo.com/group/PARTS?v=1&t=ipt&ch=email&pub=groups&slk=aftr4&sec=recg


Mechanical/Robotics: Portland Area Robotics Society is a club formed to...


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment