Is it possible to get stack trace information in Visual Basic 6.0. I want to say that I want to find out the name of the function and the exact string that causes the error, similar to the .NET stack trace. I created an ActiveX DLL that works fine in my test environment, but it throws an error in the production environment (error: 91-Object variable or With block variable not set). Any help on this is greatly appreciated.
This is a good way to do this - an answer to an existing duplicate question. Use MZTools to automatically install error handlers.
DLL , WinDBG - Microsoft. DLL ( PDB).
2006 Microsoft Windbg VB6 2004 Microsoft Windbg.
- , VB6.:http://www.vbaccelerator.com/home/vb/code/Techniques/RunTime_Debug_Tracing/article.asp
VB6, , .
, , , . -, :
Public Sub LogCall(message as String) Open "c:\My Documents\sample.txt" For Output As #1 Print #1, message Close #1 End Sub
LogCall "MyFunction: Line 42"
, .
, , - , Set , .
Set
- HuntERR; , .
http://www.devx.com/vb2themax/Tip/19792
, IDE .
, , , VB6 IDE - VB6.
"HUH"? , VB6 .
You may not be able to find out in VB6. previous question .Get as much information as possible from the Err object .
Source: https://habr.com/ru/post/1757254/More articles:How expensive is it to find ('count') in CakePHP? - performanceSQL script to get ALL SQL dependencies on an SQL object - sql-server-2008Confused about resources in a .NET project - c #Save configuration to Rails file - ruby | fooobar.comhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1757253/uploading-images-to-remote-server-iphone&usg=ALkJrhgDwJvnfkMWOIVtRHotG89l-QIf9APHP: 403 fire or 404 error? - phpПопытка сортировки пользовательского объекта JavaScript - javascriptHow practical is the iPad for enterprise applications? - ipadCan someone tell me a good Vi (or Vim) application for windows? - vimNSFetchedResultsChangeDelete not starting - iphoneAll Articles