As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am trying to debug some assembler code on windows. For 32 bit code I was using Ollydbg, but it is unable to open 64-bit exe files.
I also tried using the visual studio debugger but I think the stack is somehow getting corrupted and I can't figure out how to place a breakpoint at the program entry, so this doesn't work
So are there any free programs that work?
If it matters I am using nasm and then gcc to compile the exe's
why not give windbg a try, its made by MS and free, here's the 64bit version.
Visual studion has an excellent debugger for both 32 bit and 64 bit windows.
If you are using nasm or yasm assembler then use the option -gcv8 on the assembler. This produces debug info that works with visual studio. You have to make a project in VS that includes both C/C++ and asm files. The asm files need a custom build rule looking something like:
CommandLine="yasm -fwin64 -gcv8 -o$(InputName).obj [inputs]"
Outputs="$(InputName).obj"
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've got a task of creating an application for Windows and for Mac. Not a complex application - it has to collect data from a user using simple forms and then save/retrieve the data to/from server with XML.
I have been focusing on web development since late 90s, so the last Windows platform I used was Delphi/Pascal with a cute visual UI editor, so now I am quite out of trends.
The question is what platform (open source or free) can be used to create an application with native UI for Windows? The application will then have to be ported to Mac. Ruby might be a preference, but using or learning other languages is not the problem to me.
It would be great if the app had a minimum installation size and a minimum amount of prerequisits.
I would suggest Qt.
http://qt.nokia.com/
By using it, your application will be portable to all platforms (Win/Mac/Linux) You will also get a good IDE + debugging environment.
Libraries can be used on:
Qt libraries 4.8.2 for Windows (minGW 4.4)
Qt libraries 4.8.2 for Windows (VS 2008)
Qt libraries 4.8.2 for Windows (VS 2010B)
Qt libraries 4.8.2 for Linux/X11
Qt libraries 4.8.2 for Mac
Qt libraries 4.8.2 for embedded Linux
Qt libraries 4.8.2 for Windows CE
Delphi XE2 supports native development for Windows, Mac and iOS, this IDE is not free but you can try the Delphi XE2 Starter edition which is very cheap. For a free IDE you can tryLazarus which uses the Free Pascal compiler and supports Linux, FreeBSD, Mac OS X/Darwin, Win32, Win64, and others.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Could you please recommend me a good application level debugger for Windows 7 x64? It is not needed to debug 64-bit applications; it must only run reliably within a 64-bit environment.
I am searching for something like OllyDbg (http://www.ollydbg.de/). However, the problem with OllyDbg is that it is not yet ported for Windows 7 x64.
This has been tried:
SoftICE (does not work for Win7 x64)
Syser (it was giving me error messages after installation)
WinDBG (this one looked too complex and slow to learn. I did not like floating windows all around)
IDA pro (this one did not allow me to debug application. It only listed the structure graph)
OllyDBG (after loading the application, it terminates it immediately. Probably a result of compatibility. I also checked emulating Windows XP SP3, but not help at all)
It is required to run the application in real time, and trace it in assembly language.
Both OllyDbg 1.10 and IDA pro works fine in Win7 x64.
For OllyDbg use Stealth64 plugin.
Visual Studio is decent as a program-binary debugger, it's excellent for programs with .pdb information and source code. Only the advanced version of IdaPro works on 64-bit OS's. From their website:
IDA Pro Standard supports the following families (64-bit analysis is possible only with the Advanced Edition)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am going to start developing GUI applications with QT on a Windows platform. I have Visual Studio 2008.
I would like some suggestions as to just go with the QT IDE and do everything there or just install the QT plugin for Visual Studio and keep using Visual Studio as my IDE tool.
Are there any differences or benefits?
Thanks!
If you're very experienced with Visual Studio then it's probably best to just stick with that. But the Qt IDE does have a lot of nice stuff specifically designed for working with Qt, so that would be my preference.
I have never worked on a QT project with VS. Although I use VS for c# development.
But I have used QT creator (QT IDE) : it's fast (lighter than VS) and powerful tool except debugger VS is winner. From LGPL license and multi platform it integrates all QT supports (docs, help, nav ...) and GUI editor mode works perfectly.
I don't think you can find better in VS plugin.
Moreover QT creator interface is really simple and intuitive. You will not need to spend lots of time to assimilate it.
See Qt: Should I use Visual Studio, Qt Creator or something else?
See Which is better? Qt Creator or Visual Studio IDE
See Visual Studio or Eclipse - which one is better for Qt on Windows?
If you can go with a slow debugger but fast & very nice IDE, then go with the Qt Creator. If you learn all the quick hotkeys (not much of them) then you'll find that you're barely using the mouse any more. I like this feature very much. You can open any file, any method or going to anywhere in your project with only keyboard very easily. Your development will be much accelerated.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Do you know of software like MS Visual Studio for Mac ?
There is a free suite of tools called Xcode which you can download from Apple's developer site. It gives you an IDE, all the different compilers, a bunch of tools, etc.
For mono development: http://monodevelop.com/. Assuming thats what you mean by visual studio and using .NET.
For native mac apps XCode: http://developer.apple.com/technologies/tools/xcode.html.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Mole visualizer for WPF in Visual Studio is a great tool for debugging WPF apps. What I want to know is, is there a visualizer tool with Mole like functionality for general .Net debugging. I find the built in watch capabilities to be a little fidly.
Thanks
Since MOLE version 3.0, the tool has been able to work with all types of Visual Studio projects. See here for more information about the tool and how to get the latest version.
Mole 2010 works for all .net objects. I just used it for a winforms app and a WCF service and it works great.
They've got a free demo if you want to check it out http://www.molosoft.com
Cheers!