Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 16:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VS Debugging Problem

Discussion on VS Debugging Problem within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
VS Debugging Problem

Heya,

Weswegen auch immer scheint der Debugger von Visual Studio bei mir verbuggt zu sein, und da Google mir nichts interessantes sagt, dachte ich, ich frag' mal bei euch nach:

Wenn ich ein ganz normales Win32 (Edit: Oder aber auch MFC, spielt anscheinend keine Rolle)-Projekt erstelle, und es dann Debugge, ohne den Code zu verändern (der Fehler tritt natürlich auch so auf), bekomme ich immer zu Zufälligen Zeiten (meist aber nach kurzer Zeit) eine Exception:

Quote:
Eine Ausnahme (erste Chance) bei 0x7733f9d2 in Test.exe: 0xC0000008: An invalid handle was specified.
Wenn ich dann auf Unterbrechen gehe, sagt er mir, das keine Quellen verfügbar sind, desweiteren sagt er aber auch, das es bei "ntdll.dll!7733f9d2() " ausgelöst wird.

Wenn ich das Programm dann aber außerhalb von VS starte, läuft alles ohne Probleme.

Ich hatte schon versucht, VS & co. neuzuinstallieren, aber alles vergebens.
Vorher hatte ich nichts an VS geändert, desweiteren arbeite ich schon länger damit, der Fehler tritt aber erst seit kurzem bei allen Programmen auf.

Kennt jemand den Fehler von euch? o.0
Ich bezweifle stark, das es an meinem Code liegt, da es, wie schon gesagt, auch bei "cleanen" Projekten so ist.
Xijezu is offline  
Old 07/15/2012, 04:11   #2


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
Es kann auch sein, dass es an deinen Runtime Libs oder deiner ntdll.dll liegt (auch wenn ich letzteres bezweifle).
Was passiert denn, wenn du nicht unterbrichst, sondern sie ignorierst? Stürzt das Programm ab? System Dlls werfen des öfteren mal Exceptions, die aber im Laufe des Programms aber auch wieder abgefangen werden und deshalb nicht zum Absturz führen, d.h. wenn deine Programme ja so funktionieren, muss es ja nichtmal unbedingt ein Problem sein.
MrSm!th is offline  
Old 07/15/2012, 16:45   #3


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
Wenn VS die Exception wirft, und ich auf "Weiter" bzw. "Ignorieren" klicke, dann wirft es wieder dieselbe Exception, also sprich eine Dauerschleife.
Auch wenn es nicht unbedingt ein Problem sein muss, ich betrachte es trotzdem so, weil Debuggen kann man damit dann auch nicht wirklich. :/
Ich probier' einfach mal ein wenig rum, irgendwie muss das ja weggehen...
Xijezu is offline  
Old 07/18/2012, 19:23   #4


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,909
Received Thanks: 25,409
Der VS Debugger suckt eh :/

Kompilierst du denn im Release oder im Debug? Wie gesagt, Runtimes korrekt installiert? VS vielleicht mal als Admin ausführen?
MrSm!th is offline  
Old 07/20/2012, 06:49   #5


 
Xijezu's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
Normalerweise beim "Debuggen" natürlich im Debug-Mode, aber nachdem ich die erste Version fertig habe, meist nur noch meist im Release-Mode, dort trifft dieses Problem aber auch auf. VS ist bei mir immer als Admin gestartet. Und die Runtimes sollten korrekt installiert sein, als ich drüber geschaut habe, war nichts falsches dran.

Mittlerweile scheint er sich aber wieder halbwegs beruhigt zu haben, weiß jetzt aber nicht ob er sich mit meinem aktuellen Projekt "versteht", aber naja...

Ich hoffe mal, das ich per Zufall jetzt irgendwie den Fehler behoben habe. ^-^
Xijezu is offline  
Reply


Similar Threads Similar Threads
JIT debugging
01/12/2012 - DarkOrbit - 2 Replies
guys can any one tell me how to enable JIT debugging it ive me this error ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example:
Debugging
07/16/2010 - Grand Chase - 0 Replies
D quote above is quoted from 745896321. As stated, it is possible to run d GCHAX (by makim) on a 64bit-running OS ... but does any1 care to explain how ?
debugging
01/28/2010 - Last Chaos - 4 Replies
hi.. hab probleme mit ollydbg und last chaos also: was ich bisher mache .. lc starten, einloggen, olly starten, attachen nach dem attachen funktioniert manchmal alles, meistens jedoch bleibt olly bei einer exception hängen und das spiel stürzt ab. hat LC eine anti debug methode, oder mache ich etwas anderes falsch^^? wenn ja: wie kann ich die bypassen =) ? mfg d0m
Archlord and debugging....
07/29/2008 - Archlord - 3 Replies
hi just want to talk about archlord and debugging. anyone here that made some expierence with debugging archlord ? atm iam trying to do some cooldown hack/cheat with ollydbg instead of using wpe. the problem with wpe ist that it take always some time to setup all filters. sometimes filter need to setup again when porting etc. the first thing i found out with ollydbg is the first timecheck for sending the first 64 byte packet. i was able to simply bypass this so that the first 64 byte...
Reversing / Debugging Q
01/19/2006 - General Coding - 11 Replies
So i got this address range in the 00ee0000 -> 00eeffff area ... its inventory bits /array of bytes(not bits) 1=inventory slot filled, and 0=not filled. Thats good and all, but being dynamic and all means that the base address changes a bit from time to time. SO I am looking for a pointer to that specific area of memory. However i cannot find one ? The nearest pointer i find is like fff away from the destination! MY question is this ; im obvsioly going about this wrong, finding a...



All times are GMT +1. The time now is 16:16.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.