how can i debug & trace my program


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Posts
    7

    Default how can i debug & trace my program

    i wrote a program in PicBasic Pro and now i want to trace my program
    how should i do this in PicBasic Pro ?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Several ways
    1. Use a serial communication Hserout/Serout/Debug etc etc
    2. Use a LCD
    3. Use a ICD (Microchip ICD-2, or Mecanique ICD which come with MicroCodeStudio Plus)
    4. Use a simulator (MPLAB Mpsim, Proteus etc etc)
    5. no pun intended... use your brain

    HTH
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Dec 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    where should I find the ICD menu in PicBasic Pro ?

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    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
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Dec 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Default

    we just want simulate the program lick with bascom avr compiler that it has a "simulate menu"

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I don't understand why people are so addicted to SoftSim but anyway... there's still MPLAB MPSIM (free) or Proteus/Isis $$$
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. debug not working with MPASM assempler
    By santamaria in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2009, 07:51
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  5. Debug in + Floating pin = stop program execution?
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th November 2005, 08:46

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts