WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Pages (9) 1 2 3 4 5 [6] 7 8 9   ( Go to first unread post )

MiniDBG debugger Add-In, single step debugging, watch all registers, last error of your API calls, supports OutputDebugString API call and more...

jamieo
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 1583
Joined: 17-October 05


Hi akyprian,

Thanks for clarifying the window message thing - doh!

I'm still left with the above problem, maybe I need to explain it better. I'm already checking which build is selected and then setting it to debug before building. Everything is working fine except when an /out parameter is specified as below:

- Project name is "Hello", no built files exist yet
- Release is selected and release /out string contains "test.exe"
- Debug /out string is empty
- My addin sets build type to debug, and builds "Hello.exe" as expected
- My addin sets build type back to release and returns 0 for IDM_MAKE_DEBUG
- MiniDBG reports "The system cannot find the file specified." as it is looking for "test.exe", the file specified for a release build.

Obviously I need MiniDBG to be looking at the debug build settings.

If a release build exists then MiniDBG will start ok but will use the release build that has no debug info. unsure.gif

QUOTE (akyprian @ Jan 10 2006, 05:42 AM)
VERY strange. MiniDBG has always been checking the active build similarly to WhatBuild Proc above.


Doesn't it make sense that MiniDBG should always retrieve the debug build settings?? huh.gif

Thanks, Jamie.

PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2307
Member No.: 1
Joined: 12-May 04


Hi,

QUOTE

.
.
4.My addin sets build type to debug, and builds "Hello.exe" as expected
5.My addin sets build type back to release and returns 0 for IDM_MAKE_DEBUG
6.MiniDBG reports "The system cannot find the file specified." as it is looking for "test.exe", the file specified for a release build.

It DOES make sense! At 5, you set build to release. It is obvious that at 6 MiniDBG will look for relase build arguments. What if you interchange steps 5 & 6?

QUOTE

Doesn't it make sense that MiniDBG should always retrieve the debug build settings??

Yes and No! One might want to debug the release build as it might behave a little bit differently!

Regards,

Antonis
PMEmail PosterUsers Website
Top
scud
Quote Post


Member
**

Group: Members
Posts: 20
Member No.: 230
Joined: 3-July 04


I can't see all values.

Attached Image
Attached Image
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2307
Member No.: 1
Joined: 12-May 04


This is what happens when one tries to save some space! I 'll fix it. What is your display resolution?

Thanks,
Antonis
PMEmail PosterUsers Website
Top
jamieo
Quote Post


New Member
*

Group: Members
Posts: 14
Member No.: 1583
Joined: 17-October 05


QUOTE (akyprian @ Jan 11 2006, 12:50 AM)
What if you interchange steps 5 & 6?

That would work great but can you explain how it can be done as we've already established the WAE_COMMANDFINISHED message won't be sent for IDM_MAKE_DEBUG - hence my original question.

Would it be possible for MiniDBG to send a custom message when it has finished?

Edit: Realising this is a problem even when using OllyDbg etc. I've altered my code to swap steps 5 and 6 using WAE_COMMANDFINISHED and it works great. I just need a message or something from MiniDBG now...

QUOTE (akyprian @ Jan 11 2006, 12:50 AM)
Yes and No! One might want to debug the release build as it might behave a little bit differently!


I knew you were going to say that! wink.gif

Edit: As the behaviour is the same when CTRL+F9 is used without MiniDBG it would probably cause problems for some users to change it now anyway.

Btw, I'm also the developer of a popular program which has it's own forum so I know what it can be like! I'm only asking for help because I've hit a dead end which I've been unable to work around and don't want my addin to cause confusion for any user that has a different output path for the debug/release build.

Cheers, Jamie smile.gif
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (9) 1 2 3 4 5 [6] 7 8 9  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google