flat assembler
Message board for the users of flat assembler.

Index > IDE Development > External Debugger

Author
Thread Post new topic Reply to topic
MariO



Joined: 14 Dec 2004
Posts: 5
Location: Latvia
MariO
Complete beginners question: where & what should be an external debugger settled in IDE options? Confused
Post 14 Dec 2004, 02:14
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
MariO wrote:
Complete beginners question: where & what should be an external debugger settled in IDE options? Confused


This depends of your taste of course. Actually I am using OllyDbg, one excelent debugger that will serve your needs very well for Windows PE files. But for DOS executables (for example) you can use any other program as well.

Regards
Post 14 Dec 2004, 05:16
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
MariO



Joined: 14 Dec 2004
Posts: 5
Location: Latvia
MariO
O.K. Thanks for immediate answer!

OllyDbg - that was one of my guesses...

In general, the question is about the first steps: get the Fresh run or compile Simple.asm.
Probably, there are something wrong with other settings?
On my XP there are at last 3 diff. versions of dbghelp.dll Rolling Eyes

Till now, F9, Shift+F9, Shift+F8 permanently terminates Fresh IDE. Crying or Very sad

Executing compiler from command line opens IDE, and if destination file is set as 2. param., MsgBox: Error Unknown File Type. ...

BTW, IDE Options | Help File is hard coded with .hlp extension.

Regards
Post 15 Dec 2004, 02:42
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
MariO wrote:
In general, the question is about the first steps: get the Fresh run or compile Simple.asm.
Probably, there are something wrong with other settings?


Actually Fresh whouldn't need any special settings to work properly for any version of Windows. Follow these steps to ensure your instalation is proper:
1. Download the last work version from Fresh download page. Currently the version is FreshWork 1.1.B. You can choose .cab or .zip file, but they are absolutely equal.

2. Unpack the archive to directory of choice, preserving the directory structure.

3. Before running Fresh.exe for the first time, check whether there exists "Fresh.ini" file in the main Fresh directory. This file MUST NOT exists before the first run. If there is one, simply delete it.

4. Run Fresh.exe - when Fresh starts there should be 2 messages in the message window, about external debugger and help file. But absence of these settings doesn't affects ability of Fresh to compile everything. Environment variables are set automatically, if the directory structure is OK.

To test the installed version, load any of the example projects and press Shift+F9 (Run direct). The project must be compiled and executed normally. One exception - in the file Simple.asm, there is "int3" instruction, that causes breakpoint exception. Simply delete this line from the source and run the file.

Quote:
On my X there are at last 3 diff. versions of dbghelp.dll Rolling Eyes

Fresh in its current version doesn't use dbghelp.dll at all.

Quote:
Till now, F9, Shift+F9, Shift+F8 permanently terminates Fresh IDE. Crying or Very sad
- Do you mean Fresh crash on these commands? Then this is bug. Please provide more information about this crash.

Quote:
Executing compiler from command line opens IDE, and if destination file is set as 2. param., MsgBox: Error Unknown File Type. ...

Fresh doesn't work as command line compiler, it simply tryes to open all specified files in the editor. If you need command line compiler, you have to use any of the command line versions of FASM.

Regards.
Post 15 Dec 2004, 07:27
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
MariO



Joined: 14 Dec 2004
Posts: 5
Location: Latvia
MariO
Thanks, it's O.K. now,

my mistake was in use of Fresh 1.1.7 official pre-alpha.

FreshWork 1.1.B is great! almost...

Some problem with using Help:

Open an asm file
press F1 | Search
enter any Text | List Topics ...

FreshWork crashes. What is the RAM size on developers PS?

Nothing happens if FreshGuide.chm is in separate tread.

Is this connected with Project options | Compiler memory?

Is there an Option to create *.bak file on file being edited?

Thanks.
Post 15 Dec 2004, 12:33
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
MariO wrote:
FreshWork crashes. What is the RAM size on developers PS?


Every crash of Fresh IS a bug. Please, provide some more info. What exactly version of Windows you are using. Where crashes Fresh. How exactly you make it to crash.

Quote:
Is this connected with Project options | Compiler memory?


No. Wrong setting of the "Compiler memory" can lead only to "Out of memory" error during compilation.

Quote:
Is there an Option to create *.bak file on file being edited?

No, it is not implemented yet. Maybe because I never use this feature. BTW, you can compile and run your programs without saving the files and Fresh will compile them without mutual saving.

Regards.
Post 15 Dec 2004, 12:44
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
MariO



Joined: 14 Dec 2004
Posts: 5
Location: Latvia
MariO
Hi, JohnFound,

Your attention is great!

1. about .bak files:

it's probably most of all needed for beginners an extreme programmers.

2. crash of Fresh:

PC: AMD-K6 3D, 500 Mhz, 250 RAM
system: XP Professional, ver. 2002, SP1

Error signature:

AppName: fresh.exe
AppVer: 0.0.0.0
ModName: hhctrl.ocx
ModVer: 5.2.3735.0
Offset: 0005b025

Regards
Post 15 Dec 2004, 13:50
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Thanks Mario.

.bak files are in my TODO list.
The bug with help files as well.

Regards.
Post 15 Dec 2004, 14:38
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
MariO



Joined: 14 Dec 2004
Posts: 5
Location: Latvia
MariO
Hi, JohnFound ... again.

I consider about to change my nick to FrehsMen-CrashMen or FreshCrash.

What do you prefer? Wink

So, I reproduce the same bug on flat assembler 1.56 to.

AppName: fasmw.exe
AppVer: 0.92.4.0
ModName: hhctrl.ocx
ModVer: 5.2.3735.0
Offset: 0005b025

Apparently it has a long story.


Regards
Post 15 Dec 2004, 17:21
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
AFAIK, hhctrl.ocx is the module that shows the .chm files. It is strange that it crashes on usual .hlp files. Maybe WinXP emulates WinHelp files (.hlp) using the HTMLHelp engine and there is some bug or something... Confused

Someone else with WinXP met this problem?

Regards
Post 15 Dec 2004, 17:38
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.