PDA

View Full Version : how can i debug & trace my program



omid_juve
- 17th December 2007, 15:42
i wrote a program in PicBasic Pro and now i want to trace my program
how should i do this in PicBasic Pro ?

mister_e
- 17th December 2007, 15:47
Several ways
Use a serial communication Hserout/Serout/Debug etc etc
Use a LCD
Use a ICD (Microchip ICD-2, or Mecanique ICD which come with MicroCodeStudio Plus)
Use a simulator (MPLAB Mpsim, Proteus etc etc)
no pun intended... use your brain ;)


HTH

omid_juve
- 17th December 2007, 16:43
where should I find the ICD menu in PicBasic Pro ?

mister_e
- 17th December 2007, 16:57
Do you have the full version of MicroCode Studio Plus? if so, have a look at the following, it's a step by step explanation.
http://www.rentron.com/PicBasic/MCS_X3.htm

HTH

omid_juve
- 17th December 2007, 17:06
we just want simulate the program lick with bascom avr compiler that it has a "simulate menu"

mister_e
- 17th December 2007, 17:10
I don't understand why people are so addicted to SoftSim but anyway... there's still MPLAB MPSIM (free) or Proteus/Isis $$$