Results 1 to 6 of 6

Thread: Debugging

  1. #1
    Low Bitrate
    Join Date
    Jun 2005
    Posts
    88

    Debugging

    What is the best way to test the builds while developing? It would be nice to be able to build the solution in the VS.net IDE and then automatically launch CF to be able to debug and test. I tried setting this up but didn't have success. What have you guys been doing?

  2. #2
    VENDOR - Centrafuse veetid's Avatar
    Join Date
    Apr 2004
    Posts
    5,040
    One good tool to help debug is to use the CFTools class to write info to the error.log file to help you debug... I generally just compile, copy the the DLL, and launch Centrafuse...

    I might look into building some way to launch to the plugins outside of Centrafuse for testing, but that currently is not possible...

    david
    __________________
    CENTRAFUSE http://www.centrafuse.com
    01 Jeep Cherokee Sport 4x4 Installed
    M10000/512Mb/20GB, Lilliput 7", Holux GM-210

  3. #3
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    I have been coping over the dll myself, or if you are really lazy just set the output directory for the dll to the plugin dir in centrafuse.

    there is also a way to have VS load centrafuse when you press f5

    its in project properties ->debugging -> set type to external app and then direct it to centrafuse
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  4. #4
    Variable Bitrate
    Join Date
    Apr 2004
    Location
    The land of polar bears and nekkid blonds
    Posts
    446
    It's a pity that Console.WriteLine("whatever"); doesn't work, or am I missing something ?

    I'd like to have some debuginfo present on screen rather in a logfile.

    /M

  5. #5
    FLAC alti's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,723
    use centrafuse's dialog boxes

    this.CF_systemDisplayDialog(CF_Dialogs.OkBox, this, false, "Enter what you want to see here or a variable");
    My Install

    Software:
    CFiG v1
    iGuidance Plugin for CF

    CarShell
    Working shell for a CarPC

    StopWatch
    StopWatch plugin remade for centrafuse RC1

  6. #6
    Constant Bitrate
    Join Date
    Aug 2003
    Location
    Seattle, WA
    Posts
    115
    Worst case, just use System.Diagnostics.Trace.WriteLine

    Pv

Similar Threads

  1. Archive
    By liquid_smoke in forum PhoneControl
    Replies: 387
    Last Post: 07-23-2006, 04:01 AM
  2. SonyEricsson Phones
    By JanneZ in forum PhoneControl
    Replies: 207
    Last Post: 01-05-2006, 10:12 AM
  3. error - DLL Missing
    By dan__wright in forum AutoTouch
    Replies: 7
    Last Post: 05-19-2005, 01:12 PM
  4. Nokia Phones
    By [iG] in forum PhoneControl
    Replies: 211
    Last Post: 01-19-2005, 01:59 AM

Bookmarks

Posting Permissions

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