|
Home > Archive > BizTalk Server General > June 2006 > SOS - Debugging Custom Components in Biztalk2006
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SOS - Debugging Custom Components in Biztalk2006
|
|
| Lee Manifold 2006-06-27, 7:20 am |
| Afternoon,
I am experiencing problems trying to debug a custom decoder in the Biztalk
pipeline.
I've managed to place the control into my toolbox.
I've set the following properties in the controls properties pages
- Start external program: C:\Program Files\Microsoft BizTalk Server
2006\SDK\Utilities\PipelineTools\Pipelin
e.exe
- Command Line arguements: C:\Development\Point
Balancer\Pipelines\ReceivePipelineBinary
.btp -d c:\prtest.dat -c
I kick off the project in debug mode. The console window flahses up and
then diddly squat.
I get the following text in the output window.
Thanks in advance,
Lee
'Pipeline.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'Pipeline.exe' (Managed): Loaded 'C:\Program Files\Microsoft BizTalk Server
2006\SDK\Utilities\PipelineTools\Pipelin
e.exe', No symbols loaded.
'Pipeline.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'Pipeline.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.BizTalk.Pipeline\3.0.1.0__31bf3856ad364e35\Microsoft.BizTalk.Pipeline.dll',
No symbols loaded.
'Pipeline.exe' (Managed): Loaded 'C:\Program Files\Microsoft BizTalk Server
2006\SDK\Utilities\PipelineTools\Pipelin
eObjects.dll', No symbols loaded.
The program '[3920] Pipeline.exe: Managed' has exited with code -2146232832
(0x80131600).
| |
| Tomas Restrepo \(MVP\) 2006-06-27, 7:20 am |
| Hi Lee,
> I am experiencing problems trying to debug a custom decoder in the Biztalk
> pipeline.
>
> I've managed to place the control into my toolbox.
>
> I've set the following properties in the controls properties pages
>
> - Start external program: C:\Program Files\Microsoft BizTalk Server
> 2006\SDK\Utilities\PipelineTools\Pipelin
e.exe
>
> - Command Line arguements: C:\Development\Point
> Balancer\Pipelines\ReceivePipelineBinary
.btp -d c:\prtest.dat -c
>
> I kick off the project in debug mode. The console window flahses up and
> then diddly squat.
>
> I get the following text in the output window.
It might be (though I have not checked) that pipeline.exe is creating a
secondary appdomain to load your custom component into, and since the
debugger doesn't get attached to that, it doesn't hit any breakpoints.
May I offer a better option? (at least I think it is): Get NUnit and use my
PipelineTesting library to build unit tests for your component/pipeline.
You'll be able to debug, and you'll get a repeatable/stable testing harness
for your component!
http://www.winterdom.com/weblog/200...braryPart1.aspx
http://www.winterdom.com/weblog/200...braryPart2.aspx
--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/
| |
| Lee Manifold 2006-06-27, 7:20 am |
| Tomas,
Thanks for the offer, but I am relatively new to Biztalk and have enough
issues to contend with, without adding additional code and processes on top
of the code I am generating myself.
Regards,
Lee
"Tomas Restrepo (MVP)" <tomasr@mvps.org> wrote in message
news:OmsPVvdmGHA.464@TK2MSFTNGP05.phx.gbl...
> Hi Lee,
>
>
> It might be (though I have not checked) that pipeline.exe is creating a
> secondary appdomain to load your custom component into, and since the
> debugger doesn't get attached to that, it doesn't hit any breakpoints.
>
> May I offer a better option? (at least I think it is): Get NUnit and use
> my PipelineTesting library to build unit tests for your
> component/pipeline. You'll be able to debug, and you'll get a
> repeatable/stable testing harness for your component!
>
> http://www.winterdom.com/weblog/200...braryPart1.aspx
> http://www.winterdom.com/weblog/200...braryPart2.aspx
>
>
> --
> Tomas Restrepo
> tomasr@mvps.org
> http://www.winterdom.com/
>
| |
| Lee Manifold 2006-06-27, 1:17 pm |
| Fixed it!
You have to wrap "" around the path in the command line arguements if the
path has a space in it.....
"Lee Manifold" <LeeManifold@hotmail.com> wrote in message
news:ezi1fDemGHA.3668@TK2MSFTNGP05.phx.gbl...
> Tomas,
>
> Thanks for the offer, but I am relatively new to Biztalk and have enough
> issues to contend with, without adding additional code and processes on
> top of the code I am generating myself.
> Regards,
>
> Lee
>
> "Tomas Restrepo (MVP)" <tomasr@mvps.org> wrote in message
> news:OmsPVvdmGHA.464@TK2MSFTNGP05.phx.gbl...
>
>
|
|
|
|
|